PCI: imx6: Simplify Kconfig depends on
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 11 Mar 2019 18:59:28 +0000 (18:59 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 5 Jul 2019 15:44:41 +0000 (16:44 +0100)
The imx6 driver can be used on imx6sx without enabling support for
imx6q or imx7d but the "depends on" condition doesn't allow that.

Instead of making the condition even longer just make it depend on
"ARCH_MXC || COMPILE_TEST" instead.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
drivers/pci/controller/dwc/Kconfig

index a6ce1ee..6ea778a 100644 (file)
@@ -90,7 +90,7 @@ config PCI_EXYNOS
 
 config PCI_IMX6
        bool "Freescale i.MX6/7/8 PCIe controller"
-       depends on SOC_IMX6Q || SOC_IMX7D || (ARM64 && ARCH_MXC) || COMPILE_TEST
+       depends on ARCH_MXC || COMPILE_TEST
        depends on PCI_MSI_IRQ_DOMAIN
        select PCIE_DW_HOST