]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/xilinx: Depend on OF instead of the ARCH
authorChristoph Hellwig <hch@lst.de>
Sat, 4 Aug 2018 10:14:02 +0000 (12:14 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 6 Aug 2018 10:39:08 +0000 (11:39 +0100)
commit373bba45c1fa54308c34e1504a310515ec2458b1
treef3c3a9f765152b7736e014f4ea8d510274eb8086
parent0d5624e606504772b89d3c3d6b1be740ef176c61
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>
drivers/pci/controller/Kconfig