aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-08-04 06:14:02 -0400
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2018-08-06 06:39:08 -0400
commit34dbc9c6584d28d307690e13af882d159562581f (patch)
treef3c3a9f765152b7736e014f4ea8d510274eb8086 /drivers/pci/controller
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
PCI/xilinx: Depend on OF instead of the ARCH
There isn't a hard dependency of the Xilinx AXI-PCIe host bridge on any architecture. For example: at SiFive we map RISC-V cores to Xilinx FPGAs and connect the Xilinx IP via a TileLink adapter, so the RISC-V Linux port will need to be able to enable PCIE_XILINX in order to have PCIe support. This patch decouples the PCIE_XILINX support from ARCH. Instead it just depends on OF, which is the only true dependency. Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com> [hch: switch to OF instead of OF_PCI now that the latter is gone] Signed-off-by: Christoph Hellwig <hch@lst.de> [lorenzo.pieralisi@arm.com: trimmed the commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller')
-rw-r--r--drivers/pci/controller/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index 18fa09b3ac8f..1fc3d4eb373d 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -103,7 +103,7 @@ config PCI_HOST_GENERIC
103 103
104config PCIE_XILINX 104config PCIE_XILINX
105 bool "Xilinx AXI PCIe host bridge support" 105 bool "Xilinx AXI PCIe host bridge support"
106 depends on ARCH_ZYNQ || MICROBLAZE || (MIPS && PCI_DRIVERS_GENERIC) || COMPILE_TEST 106 depends on OF || COMPILE_TEST
107 help 107 help
108 Say 'Y' here if you want kernel to support the Xilinx AXI PCIe 108 Say 'Y' here if you want kernel to support the Xilinx AXI PCIe
109 Host Bridge driver. 109 Host Bridge driver.