summaryrefslogtreecommitdiff
path: root/common/cmd_log.c
diff options
context:
space:
mode:
authorSergey Temerkhanov <s.temerkhanov@gmail.com>2015-04-01 14:18:46 (GMT)
committerMarek Vasut <marex@denx.de>2015-04-14 03:47:48 (GMT)
commitf6570871346aa3e83ba263bbed79a43875437112 (patch)
tree5509ea19654fa6bdf8c3cc11e5d7a954a5b22d09 /common/cmd_log.c
parent421a5a0c980e8abc620880b8d00cfba1bd349e3c (diff)
downloadu-boot-fsl-qoriq-f6570871346aa3e83ba263bbed79a43875437112.tar.xz
usb_storage:Fix USB storage capacity detection on 64 bit architectures
This patch fixes USB storage capacity detection breakage on 64-bit systems which arises due to 'unsigned long' length difference. Old code assumes that to be 32 bit and breaks because of inappropriate response buffer layout. Also this fixes a number of build warnings and changes big-endian values treatment style to be architecture-independent Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
Diffstat (limited to 'common/cmd_log.c')
0 files changed, 0 insertions, 0 deletions