linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: imx6: Simplify Kconfig depends on
@ 2019-03-11 18:59 Leonard Crestez
  2019-03-26 18:19 ` Lorenzo Pieralisi
  2019-07-05 15:51 ` Lorenzo Pieralisi
  0 siblings, 2 replies; 8+ messages in thread
From: Leonard Crestez @ 2019-03-11 18:59 UTC (permalink / raw)
  To: Lucas Stach, Lorenzo Pieralisi
  Cc: Trent Piepho, Andrey Smirnov, Stefan Agner, Richard Zhu,
	dl-linux-imx, Shawn Guo, linux-pci

In theory this 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>
---
 drivers/pci/controller/dwc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
index 6ea74b1c0d94..21747fd0e799 100644
--- a/drivers/pci/controller/dwc/Kconfig
+++ b/drivers/pci/controller/dwc/Kconfig
@@ -88,11 +88,11 @@ config PCI_EXYNOS
 	depends on PCI_MSI_IRQ_DOMAIN
 	select PCIE_DW_HOST
 
 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
 
 config PCIE_SPEAR13XX
 	bool "STMicroelectronics SPEAr PCIe controller"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-07-05 15:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-11 18:59 [PATCH] PCI: imx6: Simplify Kconfig depends on Leonard Crestez
2019-03-26 18:19 ` Lorenzo Pieralisi
2019-04-12 17:56   ` Leonard Crestez
2019-04-12 18:03     ` Trent Piepho
2019-04-12 18:20       ` Leonard Crestez
2019-04-30 14:22         ` Lorenzo Pieralisi
2019-07-05 15:41           ` Lucas Stach
2019-07-05 15:51 ` Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).