hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller
PATCH v3 7/8 hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller
From: Paul Burton <[email protected]>
Add support for emulating the Xilinx AXI Root Port Bridge for PCI Express as described by Xilinx' PG055 document. This is a PCIe controller that can be used with certain series of Xilinx FPGAs, and is used on the MIPS Boston board which will make use of this code.
Signed-off-by Paul Burton <[email protected]>
[[email protected]:
removed returning on !level,
updated IRQ connection with GPIO logic,
moved xilinx_pcie_init() to boston.c
replaced stw_le_p() with pci_set_word()
and other cosmetic changes]
Signed-off-by Yongbok Kim <[email protected]>
--- hw/pci-host/Makefile.objs | 1 + hw/pci-host/xilinx-pcie.c | 328 ++++++++++++++++++++++++++++++++++++++ include/hw/pci-host/xilinx-pcie.h | 68 ++++++++ 3 files changed, 397 insertions(+) create mode 100644 hw/pci-host/xilinx-pcie.c create mode 100644 include/hw/pci-host/xilinx-pcie.h
hw/pci-host/Makefile.objs +1 -0
@@ -16,3 +16,4 @@ common-obj-$(CONFIG_FULONG) += bonito.o common-obj-$(CONFIG_PCI_PIIX) += piix.o common-obj-$(CONFIG_PCI_Q35) += q35.o common-obj-$(CONFIG_PCI_GENERIC) += gpex.o +common-obj-$(CONFIG_PCI_XILINX) += xilinx-pcie.o
hw/pci-host/xilinx-pcie.c new file +328 -0
328 lines not on this page · raw message
include/hw/pci-host/xilinx-pcie.h new file +68 -0
68 lines not on this page · raw message
Signature · 1 line
2.7.4