summaryrefslogtreecommitdiffstats
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2021-04-07 09:12:36 +0200
committerStefan Roese <sr@denx.de>2021-04-28 10:05:12 +0200
commit9201200c6fefd319428c90a831790858a7d292f7 (patch)
treefd7df2bb43b5f95e810cd04635944a06b7c63931 /include/linux/stringify.h
parentd960a70efb80f55ef6ef39da2e9b8a2dbad2d4c0 (diff)
downloadu-boot-9201200c6fefd319428c90a831790858a7d292f7.tar.gz
u-boot-9201200c6fefd319428c90a831790858a7d292f7.tar.xz
u-boot-9201200c6fefd319428c90a831790858a7d292f7.zip
scsi: Add ata_swap_buf_le16() to support big-endian platforms
Otherwise the output will look like this on MIPS Octeon NIC23: Device 0: (0:0) Vendor: ATA Prod.: aSDnsi klUrt aII Rev: 4X11 Type: Hard Disk Capacity: 457862.8 MB = 447.1 GB (937703088 x 512) instead of this version: Device 0: (0:0) Vendor: TA Prod.: SanDisk Ultra II Rev: X411 Type: Hard Disk Capacity: 457862.8 MB = 447.1 GB (937703088 x 512) Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Aaron Williams <awilliams@marvell.com> Cc: Chandrakala Chavva <cchavva@marvell.com> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions