On 31 March 2015 at 01:02, <yuantian.t...@freescale.com> wrote: > From: Tang Yuantian <yuantian.t...@freescale.com> > > In stead of user_buffer_size, transfer_size should be used to pass to > ahci_device_data_io(). transfer_size is the length that we want the > low level function to transfer each time. > If we use user_buffer_size which is the totally data length as parameter, > low level function will actually create many SGs to transfer as many data > as possible each time. That will produce many redundant data transfer. > > Signed-off-by: Tang Yuantian <yuantian.t...@freescale.com> > --- > drivers/block/ahci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
I'm not an expert here but this looks right. Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot