aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Crestez <[email protected]>2019-03-11 18:59:28 +0000
committerLorenzo Pieralisi <[email protected]>2019-07-05 16:44:41 +0100
commit7e8ab1b268b1ab2d2956823f93c7f3c62b9c2b26 (patch)
treeee033a4789ce6a7e3f77b0fbb8e3bb044af250ed
parentca98329d3b58ef636b8f455b0b1b6ac9c89738b2 (diff)
PCI: imx6: Simplify Kconfig depends on
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 <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Lucas Stach <[email protected]>
-rw-r--r--drivers/pci/controller/dwc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
index a6ce1ee51b4c..6ea778ae4877 100644
--- a/drivers/pci/controller/dwc/Kconfig
+++ b/drivers/pci/controller/dwc/Kconfig
@@ -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