diff mbox series

[1/4] ahci: qoriq: Add platform dependencies

Message ID 20200507112955.23520-2-geert+renesas@glider.be (mailing list archive)
State New, archived
Headers show
Series qoriq: Add platform dependencies | expand

Commit Message

Geert Uytterhoeven May 7, 2020, 11:29 a.m. UTC
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>
---
 drivers/ata/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Leo Li May 22, 2020, 9:29 p.m. UTC | #1
On Thu, May 7, 2020 at 6:30 AM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> 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>

Hi Jens,

Are you applying this patches?  I can also apply it with your ACK.

Regards,
Leo
> ---
>  drivers/ata/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
> index 05ecdce1b702cf8b..d9e66b37acd1862a 100644
> --- a/drivers/ata/Kconfig
> +++ b/drivers/ata/Kconfig
> @@ -264,6 +264,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
> --
> 2.17.1
>
diff mbox series

Patch

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 05ecdce1b702cf8b..d9e66b37acd1862a 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -264,6 +264,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