diff options
author | Tang Yuantian <Yuantian.Tang@freescale.com> | 2015-03-31 15:02:43 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-04-07 08:41:10 -0400 |
commit | 8f6e18385a5afd9aa6d63e5ea3f7658193087851 (patch) | |
tree | c7e7a90db3311d8eab9505dd068e33f35eb4e148 /arch/arm/cpu/armv7/am33xx | |
parent | 5e8397dd94a1b55cd7577cdc24f271b71f660e7e (diff) | |
download | u-boot-imx-8f6e18385a5afd9aa6d63e5ea3f7658193087851.zip u-boot-imx-8f6e18385a5afd9aa6d63e5ea3f7658193087851.tar.gz u-boot-imx-8f6e18385a5afd9aa6d63e5ea3f7658193087851.tar.bz2 |
ahci: Fix a wrong parameter pass
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.Tang@freescale.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu/armv7/am33xx')
0 files changed, 0 insertions, 0 deletions