From: Geert Uytterhoeven Date: Wed, 8 Mar 2023 12:49:34 +0000 (+0100) Subject: ahci: qoriq: Add platform dependencies X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=71424f059c423bdb83f0bcc06644f29fe89b50cc;p=linux.git 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 Acked-by: Arnd Bergmann Acked-by: Li Yang Signed-off-by: Damien Le Moal --- diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index b56fba76b43f4..42b51c9812a0e 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