Skip to content

Commit 74d37c9

Browse files
pcie-xilinx: Depend on OF_PCI 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_PCI, which I believe is the only true dependency. Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 60cc43f commit 74d37c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/host/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ config PCI_HOST_GENERIC
7474

7575
config PCIE_XILINX
7676
bool "Xilinx AXI PCIe host bridge support"
77-
depends on ARCH_ZYNQ || MICROBLAZE || (MIPS && PCI_DRIVERS_GENERIC)
77+
depends on OF_PCI
7878
help
7979
Say 'Y' here if you want kernel to support the Xilinx AXI PCIe
8080
Host Bridge driver.

0 commit comments

Comments
 (0)