diff options
author | Stefan Roese <sr@denx.de> | 2021-04-07 09:12:35 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2021-04-23 21:22:55 +0200 |
commit | 1cf2700f269e8f81cf99a68b8746c80e12c410be (patch) | |
tree | 2c10ff0d4915449c79a35bfaac8daefe5af8a22f /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | 1eefd49cc188e40f7221f96cd7d7a21b3ccba89a (diff) | |
download | u-boot-1cf2700f269e8f81cf99a68b8746c80e12c410be.tar.gz u-boot-1cf2700f269e8f81cf99a68b8746c80e12c410be.tar.xz u-boot-1cf2700f269e8f81cf99a68b8746c80e12c410be.zip |
ata: ahci: Fix usage on big-endian platforms
This patch adds a few missing virt_to_phys() to use the correct physical
address for DMA operations in the common AHCI code. This is done to
support the big-endian MIPS Octeon platform.
Additionally the code a cleaned up a bit (remove some empty lines) and
made a bit better readable.
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