xref: /linux/drivers/pci/controller/Makefile (revision 348dd93e40c112afda3cd07daa6f470e474d29dc)
16e0832faSShawn Lin# SPDX-License-Identifier: GPL-2.0
26e0832faSShawn Linobj-$(CONFIG_PCIE_CADENCE) += pcie-cadence.o
36e0832faSShawn Linobj-$(CONFIG_PCIE_CADENCE_HOST) += pcie-cadence-host.o
46e0832faSShawn Linobj-$(CONFIG_PCIE_CADENCE_EP) += pcie-cadence-ep.o
56e0832faSShawn Linobj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
66e0832faSShawn Linobj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o
7*348dd93eSHaiyang Zhangobj-$(CONFIG_PCI_HYPERV_INTERFACE) += pci-hyperv-intf.o
86e0832faSShawn Linobj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
96e0832faSShawn Linobj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
106e0832faSShawn Linobj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
116e0832faSShawn Linobj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
126e0832faSShawn Linobj-$(CONFIG_PCIE_RCAR) += pcie-rcar.o
136e0832faSShawn Linobj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o
146e0832faSShawn Linobj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o
156e0832faSShawn Linobj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o
166e0832faSShawn Linobj-$(CONFIG_PCIE_XILINX_NWL) += pcie-xilinx-nwl.o
176e0832faSShawn Linobj-$(CONFIG_PCI_V3_SEMI) += pci-v3-semi.o
186e0832faSShawn Linobj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o
196e0832faSShawn Linobj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o
206e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC) += pcie-iproc.o
216e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_MSI) += pcie-iproc-msi.o
226e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_PLATFORM) += pcie-iproc-platform.o
236e0832faSShawn Linobj-$(CONFIG_PCIE_IPROC_BCMA) += pcie-iproc-bcma.o
246e0832faSShawn Linobj-$(CONFIG_PCIE_ALTERA) += pcie-altera.o
256e0832faSShawn Linobj-$(CONFIG_PCIE_ALTERA_MSI) += pcie-altera-msi.o
266e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
276e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
286e0832faSShawn Linobj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
296e0832faSShawn Linobj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
306f2c73c1SLorenzo Pieralisiobj-$(CONFIG_PCIE_MOBIVEIL) += pcie-mobiveil.o
316e0832faSShawn Linobj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
326e0832faSShawn Linobj-$(CONFIG_VMD) += vmd.o
336e0832faSShawn Lin# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
346e0832faSShawn Linobj-y				+= dwc/
356e0832faSShawn Lin
366e0832faSShawn Lin
376e0832faSShawn Lin# The following drivers are for devices that use the generic ACPI
386e0832faSShawn Lin# pci_root.c driver but don't support standard ECAM config access.
396e0832faSShawn Lin# They contain MCFG quirks to replace the generic ECAM accessors with
406e0832faSShawn Lin# device-specific ones that are shared with the DT driver.
416e0832faSShawn Lin
426e0832faSShawn Lin# The ACPI driver is generic and should not require driver-specific
436e0832faSShawn Lin# config options to be enabled, so we always build these drivers on
446e0832faSShawn Lin# ARM64 and use internal ifdefs to only build the pieces we need
456e0832faSShawn Lin# depending on whether ACPI, the DT driver, or both are enabled.
466e0832faSShawn Lin
476e0832faSShawn Linifdef CONFIG_PCI
486e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-thunder-ecam.o
496e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-thunder-pem.o
506e0832faSShawn Linobj-$(CONFIG_ARM64) += pci-xgene.o
516e0832faSShawn Linendif
52