summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2012-03-12 23:18:41 -0700
committerGerrit <chrome-bot@google.com>2012-03-13 18:02:19 -0700
commit632de4e223f51b84539307ca12703b21b5d7f5f5 (patch)
treee9c8ce27eafd3366dbc62e4363dc8c06475c4fbd /include
parent460709b5b6358924d6cdeb4c56d85c721e1aed38 (diff)
gen: Make the SCSI and USB drivers compile with the CONFIG_SYS_64BIT_LBA option
These drivers 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. BUG=chrome-os-partner:8180 TEST=Built for emeraldlake2 with the CONFIG_SYS_64BIT_LBA option enabled and saw its compile errors go away. Change-Id: I7443b5976d3d06b82070344011fba46a28bd77de Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/18058 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@google.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions