sata: ahci_mvebu.c: Enable AHCI/SATA driver for MIPS Octeon
authorStefan Roese <sr@denx.de>
Wed, 7 Apr 2021 07:12:34 +0000 (09:12 +0200)
committerStefan Roese <sr@denx.de>
Wed, 28 Apr 2021 08:05:12 +0000 (10:05 +0200)
commit089884dbacfdbf7dec829b0d9004bd271be3dfdc
treef60fe1b1bb12503a5cd06b1cbfdbecaebaa0c9fc
parentdd6d82150f2a65d06cb9d15800fcba0c3e9acf3f
sata: ahci_mvebu.c: Enable AHCI/SATA driver for MIPS Octeon

This patch enables the usage of the MVEBU AHCI/SATA driver. The only
changes necessary to support MIPS Octeon via DT based probing are, to
add the compatible DT property and the use of dev_remap_addr() so that
the correct mapped address is used in the Octeon case (phys != virt).

Please note that this driver supports the usage of the "scsi" command
and not the "sata" command, since it does not provide an own "scan"
function, which is needed for the "sata" cmd support.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Aaron Williams <awilliams@marvell.com>
Cc: Chandrakala Chavva <cchavva@marvell.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
drivers/ata/Kconfig
drivers/ata/ahci_mvebu.c