xref: /openbmc/linux/drivers/pci/controller/Makefile (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
16e0832faSShawn Lin# SPDX-License-Identifier: GPL-2.0
2de80f95cSTom Josephobj-$(CONFIG_PCIE_CADENCE) += cadence/
36e0832faSShawn Linobj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
4f7821b49SLinus Walleijobj-$(CONFIG_PCI_IXP4XX) += pci-ixp4xx.o
56e0832faSShawn Linobj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o
6348dd93eSHaiyang Zhangobj-$(CONFIG_PCI_HYPERV_INTERFACE) += pci-hyperv-intf.o
76e0832faSShawn Linobj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
86e0832faSShawn Linobj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
96e0832faSShawn Linobj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
106e0832faSShawn Linobj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
1178a0d7f2SLad Prabhakarobj-$(CONFIG_PCIE_RCAR_HOST) += pcie-rcar.o pcie-rcar-host.o
122a6d0d63SLad Prabhakarobj-$(CONFIG_PCIE_RCAR_EP) += pcie-rcar.o pcie-rcar-ep.o
136e0832faSShawn Linobj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o
146e0832faSShawn Linobj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o
156e5a1fffSArnd Bergmannobj-$(CONFIG_PCI_HOST_THUNDER_ECAM) += pci-thunder-ecam.o
166e5a1fffSArnd Bergmannobj-$(CONFIG_PCI_HOST_THUNDER_PEM) += pci-thunder-pem.o
176e0832faSShawn Linobj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o
186e0832faSShawn Linobj-$(CONFIG_PCIE_XILINX_NWL) += pcie-xilinx-nwl.o
19508f6106SBharat Kumar Gogadaobj-$(CONFIG_PCIE_XILINX_CPM) += pcie-xilinx-cpm.o
206e0832faSShawn Linobj-$(CONFIG_PCI_V3_SEMI) += pci-v3-semi.o
216e5a1fffSArnd Bergmannobj-$(CONFIG_PCI_XGENE) += pci-xgene.o
226e0832faSShawn Linobj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o
236e0832faSShawn Linobj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o
246e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC) += pcie-iproc.o
256e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_MSI) += pcie-iproc-msi.o
266e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_PLATFORM) += pcie-iproc-platform.o
276e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_BCMA) += pcie-iproc-bcma.o
286e0832faSShawn Linobj-$(CONFIG_PCIE_ALTERA) += pcie-altera.o
296e0832faSShawn Linobj-$(CONFIG_PCIE_ALTERA_MSI) += pcie-altera-msi.o
306e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
316e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
326e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
336e0832faSShawn Linobj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
34d3bf75b5SJianjun Wangobj-$(CONFIG_PCIE_MEDIATEK_GEN3) += pcie-mediatek-gen3.o
356f15a9c9SDaire McNamaraobj-$(CONFIG_PCIE_MICROCHIP_HOST) += pcie-microchip-host.o
366e0832faSShawn Linobj-$(CONFIG_VMD) += vmd.o
37c0452137SJim Quinlanobj-$(CONFIG_PCIE_BRCMSTB) += pcie-brcmstb.o
381f58cca5SJiaxun Yangobj-$(CONFIG_PCI_LOONGSON) += pci-loongson.o
39acb52897SYicong Yangobj-$(CONFIG_PCIE_HISI_ERR) += pcie-hisi-error.o
40*1e33888fSAlyssa Rosenzweigobj-$(CONFIG_PCIE_APPLE) += pcie-apple.o
412bdd5238SSergio Paracuellosobj-$(CONFIG_PCIE_MT7621) += pcie-mt7621.o
422bdd5238SSergio Paracuellos
436e0832faSShawn Lin# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
446e0832faSShawn Linobj-y				+= dwc/
4503bdc388SHou Zhiqiangobj-y				+= mobiveil/
466e0832faSShawn Lin
476e0832faSShawn Lin
486e0832faSShawn Lin# The following drivers are for devices that use the generic ACPI
496e0832faSShawn Lin# pci_root.c driver but don't support standard ECAM config access.
506e0832faSShawn Lin# They contain MCFG quirks to replace the generic ECAM accessors with
516e0832faSShawn Lin# device-specific ones that are shared with the DT driver.
526e0832faSShawn Lin
536e0832faSShawn Lin# The ACPI driver is generic and should not require driver-specific
546e0832faSShawn Lin# config options to be enabled, so we always build these drivers on
556e0832faSShawn Lin# ARM64 and use internal ifdefs to only build the pieces we need
566e0832faSShawn Lin# depending on whether ACPI, the DT driver, or both are enabled.
576e0832faSShawn Lin
586e5a1fffSArnd Bergmannifdef CONFIG_ACPI
596e5a1fffSArnd Bergmannifdef CONFIG_PCI_QUIRKS
606e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-thunder-ecam.o
616e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-thunder-pem.o
626e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-xgene.o
636e0832faSShawn Linendif
646e5a1fffSArnd Bergmannendif
65