diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-03-08 13:49:34 +0100 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2023-03-23 10:29:26 +0900 |
commit | 71424f059c423bdb83f0bcc06644f29fe89b50cc (patch) | |
tree | 6b75209d337adecce40b1922e8236be42b2d0be4 | |
parent | 69e32a7070fb1a84eff77c49905d0c85c6e0260b (diff) | |
download | lwn-71424f059c423bdb83f0bcc06644f29fe89b50cc.tar.gz lwn-71424f059c423bdb83f0bcc06644f29fe89b50cc.zip |
ahci: qoriq: Add platform dependencies
The Freescale QorIQ AHCI SATA controller is only present on Freescale
Layerscape SoCs. Add platform dependencies to the AHCI_QORIQ config
symbol, to avoid asking the user about it when configuring a kernel
without Layerscape support.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
-rw-r--r-- | drivers/ata/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index b56fba76b43f..42b51c9812a0 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -276,6 +276,7 @@ config AHCI_XGENE config AHCI_QORIQ tristate "Freescale QorIQ AHCI SATA support" depends on OF + depends on SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST select SATA_HOST help This option enables support for the Freescale QorIQ AHCI SoC's |