ata: fix Marvell SATA driver dependencies
PATCH v2 1/1 ata: fix Marvell SATA driver dependencies
Make sata_mv host driver depend on PCI || ARCH_KIRKWOOD || ARCH_MVEBU || ARCH_ORION5X config options as Marvell SATA support covers both Marvell PCI devices and Marvell Kirkwood, Armada 370/XP and Orion5x SoCs (for non-PCI devices the driver to work requires suitable device tree node to be defined). Additionally allow the driver build if COMPILE_TEST config option is set.
---
v2:
- previous patch was against libata/for-next branch (SATA_MV selects GENERIC_PHY in for-next branch)
drivers/ata/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/ata/Kconfig +2 -0
@@ -281,6 +281,8 @@ config SATA_HIGHBANK config SATA_MV tristate "Marvell SATA support" + depends on PCI || ARCH_KIRKWOOD || ARCH_MVEBU || ARCH_ORION5X || \ + COMPILE_TEST help This option enables support for the Marvell Serial ATA family. Currently supports 88SX[56]0[48][01] PCI(-X) chips,
Quoted 3 lines · Bartlomiej Zolnierkiewicz
Make
sata_mvhost driver depend on PCI ||ARCH_KIRKWOOD||ARCH_MVEBU||ARCH_ORION5Xconfig options as Marvell SATA support covers both Marvell PCI devices and Marvell Kirkwood, Armada 370/XP and Orion5x SoCs
I would of thought Dove and mv78xx0 would also want it.
Andrew