Skip to contentSkip to conversation

pci: host: FTPCI100: Add dependency on ARCH_GEMINI

PATCH In review Peter Robinson 2 participants 2 messages May 24, 2017 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: host: FTPCI100: Add dependency on ARCH_GEMINI

Add dependency on ARCH_GEMINI and compile test

---
 drivers/pci/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/host/Kconfig +1 -1
index 7f47cd5e10a5..7810acbf9ad2 100644
@@ -30,7 +30,7 @@ config PCIE_XILINX_NWL
 config PCI_FTPCI100
 	bool "Faraday Technology FTPCI100 PCI controller"
 	depends on OF
-	depends on ARM
+	depends on ARM && (ARCH_GEMINI || COMPILE_TEST)
 	default ARCH_GEMINI
 
 config PCI_TEGRA
Signature · 1 line
2.13.0
#1 lore raw
Quoted 3 lines · Peter Robinson

Add dependency on ARCH_GEMINI and compile test

Why? This is a generic IP block that also exist in Andestech, Faraday reference design and possibly others. If they want to reuse this driver they would have to patch this away again, seems pointless to me.

Yours,
Linus Walleij