diff options
author | Stefan Roese <sr@denx.de> | 2021-04-07 09:12:36 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2021-04-23 21:22:55 +0200 |
commit | dc0731ec256f7e6050859ee37f61cd866e7608ed (patch) | |
tree | bea48afd3769610d8fd74feb452e8531048198ce /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | 1cf2700f269e8f81cf99a68b8746c80e12c410be (diff) | |
download | u-boot-dc0731ec256f7e6050859ee37f61cd866e7608ed.tar.gz u-boot-dc0731ec256f7e6050859ee37f61cd866e7608ed.tar.xz u-boot-dc0731ec256f7e6050859ee37f61cd866e7608ed.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 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions