xref: /openbmc/linux/drivers/pci/controller/Makefile (revision 82b5d164)
1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_PCIE_CADENCE) += pcie-cadence.o
3obj-$(CONFIG_PCIE_CADENCE_HOST) += pcie-cadence-host.o
4obj-$(CONFIG_PCIE_CADENCE_EP) += pcie-cadence-ep.o
5obj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
6obj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o
7obj-$(CONFIG_PCI_HYPERV_INTERFACE) += pci-hyperv-intf.o
8obj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
9obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
10obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
11obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
12obj-$(CONFIG_PCIE_RCAR) += pcie-rcar.o
13obj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o
14obj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o
15obj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o
16obj-$(CONFIG_PCIE_XILINX_NWL) += pcie-xilinx-nwl.o
17obj-$(CONFIG_PCI_V3_SEMI) += pci-v3-semi.o
18obj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o
19obj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o
20obj-$(CONFIG_PCIE_IPROC) += pcie-iproc.o
21obj-$(CONFIG_PCIE_IPROC_MSI) += pcie-iproc-msi.o
22obj-$(CONFIG_PCIE_IPROC_PLATFORM) += pcie-iproc-platform.o
23obj-$(CONFIG_PCIE_IPROC_BCMA) += pcie-iproc-bcma.o
24obj-$(CONFIG_PCIE_ALTERA) += pcie-altera.o
25obj-$(CONFIG_PCIE_ALTERA_MSI) += pcie-altera-msi.o
26obj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
27obj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
28obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
29obj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
30obj-$(CONFIG_PCIE_MOBIVEIL) += pcie-mobiveil.o
31obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
32obj-$(CONFIG_VMD) += vmd.o
33# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
34obj-y				+= dwc/
35
36
37# The following drivers are for devices that use the generic ACPI
38# pci_root.c driver but don't support standard ECAM config access.
39# They contain MCFG quirks to replace the generic ECAM accessors with
40# device-specific ones that are shared with the DT driver.
41
42# The ACPI driver is generic and should not require driver-specific
43# config options to be enabled, so we always build these drivers on
44# ARM64 and use internal ifdefs to only build the pieces we need
45# depending on whether ACPI, the DT driver, or both are enabled.
46
47ifdef CONFIG_PCI
48obj-$(CONFIG_ARM64) += pci-thunder-ecam.o
49obj-$(CONFIG_ARM64) += pci-thunder-pem.o
50obj-$(CONFIG_ARM64) += pci-xgene.o
51endif
52