diff options
author | Gabe Black <gabeblack@chromium.org> | 2012-10-12 14:26:07 +0000 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2012-10-22 08:25:07 +0200 |
commit | e81e79ede1aa1052735b9ee9a364f99b93605a08 (patch) | |
tree | 368b7c74f85051d49efa04b048afd81dbeb3da85 /common/cmd_load.c | |
parent | 99070db0dc0b0e881841a0091f06d53351244a34 (diff) | |
download | u-boot-imx-e81e79ede1aa1052735b9ee9a364f99b93605a08.zip u-boot-imx-e81e79ede1aa1052735b9ee9a364f99b93605a08.tar.gz u-boot-imx-e81e79ede1aa1052735b9ee9a364f99b93605a08.tar.bz2 |
usb: Support the CONFIG_SYS_64BIT_LBA option
usb_storage wouldn't compile when the CONFIG_SYS_64BIT_LBA option is
turned on because the used fixed size data types in their exported
functions when they should have used lbaint_t for the block count
parameter. That meant that when the sizes happened to be the same, when
using a 28 bit LBA, the driver would build, but when it wasn't, a 48 bit
LBA, things broke.
This change adjusts the signatures to use the right type and makes small
adjustments in the affected functions.
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'common/cmd_load.c')
0 files changed, 0 insertions, 0 deletions