MLK-21080-10 PCI: imx: Simplify PCI_IMX6 depends on
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 11 Mar 2019 16:56:02 +0000 (18:56 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
Upstream rejected ARCH_MXC_ARM64 in favor of defining ARCH_MXC for
arm64.

Simplify PCI_IMX6 "depends on" to just "ARCH_MXC || COMPILE_TEST" and
make it actually build on imx8.

Fixes: 2c3ecbe0d6a4 ("MLK-15064-4 PCI: imx: enable pcie support on imx8")

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
drivers/pci/controller/dwc/Kconfig

index c7bfa29..c2ceb0e 100644 (file)
@@ -90,7 +90,7 @@ config PCI_EXYNOS
 
 config PCI_IMX6
        bool "Freescale i.MX6 PCIe controller"
-       depends on SOC_IMX6Q || (ARM && COMPILE_TEST) || SOC_IMX6SX || SOC_IMX7D || ARCH_MXC_ARM64
+       depends on ARCH_MXC || COMPILE_TEST
        depends on PCI_MSI_IRQ_DOMAIN
        select PCIE_DW_HOST