| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
obj-$(CONFIG_PCIE_CADENCE) += cadence/ |
| 3 |
obj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o |
| 4 |
obj-$(CONFIG_PCI_IXP4XX) += pci-ixp4xx.o |
| 5 |
obj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o |
| 6 |
obj-$(CONFIG_PCI_HYPERV_INTERFACE) += pci-hyperv-intf.o |
| 7 |
obj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o |
| 8 |
obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o |
| 9 |
obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o |
| 10 |
obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o |
| 11 |
obj-$(CONFIG_PCIE_RCAR_HOST) += pcie-rcar.o pcie-rcar-host.o |
| 12 |
obj-$(CONFIG_PCIE_RCAR_EP) += pcie-rcar.o pcie-rcar-ep.o |
| 13 |
obj-$(CONFIG_PCIE_RENESAS_RZG3S_HOST) += pcie-rzg3s-host.o |
| 14 |
obj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o |
| 15 |
obj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o |
| 16 |
obj-$(CONFIG_PCI_HOST_THUNDER_ECAM) += pci-thunder-ecam.o |
| 17 |
obj-$(CONFIG_PCI_HOST_THUNDER_PEM) += pci-thunder-pem.o |
| 18 |
obj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o |
| 19 |
obj-$(CONFIG_PCIE_XILINX_NWL) += pcie-xilinx-nwl.o |
| 20 |
obj-$(CONFIG_PCIE_XILINX_CPM) += pcie-xilinx-cpm.o |
| 21 |
obj-$(CONFIG_PCIE_XILINX_DMA_PL) += pcie-xilinx-dma-pl.o |
| 22 |
obj-$(CONFIG_PCI_V3_SEMI) += pci-v3-semi.o |
| 23 |
obj-$(CONFIG_PCI_XGENE) += pci-xgene.o |
| 24 |
obj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o |
| 25 |
obj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o |
| 26 |
obj-$(CONFIG_PCIE_IPROC) += pcie-iproc.o |
| 27 |
obj-$(CONFIG_PCIE_IPROC_MSI) += pcie-iproc-msi.o |
| 28 |
obj-$(CONFIG_PCIE_IPROC_PLATFORM) += pcie-iproc-platform.o |
| 29 |
obj-$(CONFIG_PCIE_IPROC_BCMA) += pcie-iproc-bcma.o |
| 30 |
obj-$(CONFIG_PCIE_ALTERA) += pcie-altera.o |
| 31 |
obj-$(CONFIG_PCIE_ALTERA_MSI) += pcie-altera-msi.o |
| 32 |
obj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o |
| 33 |
obj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o |
| 34 |
obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o |
| 35 |
obj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o |
| 36 |
obj-$(CONFIG_PCIE_MEDIATEK_GEN3) += pcie-mediatek-gen3.o |
| 37 |
obj-$(CONFIG_VMD) += vmd.o |
| 38 |
obj-$(CONFIG_PCIE_BRCMSTB) += pcie-brcmstb.o |
| 39 |
obj-$(CONFIG_PCI_LOONGSON) += pci-loongson.o |
| 40 |
obj-$(CONFIG_PCIE_HISI_ERR) += pcie-hisi-error.o |
| 41 |
obj-$(CONFIG_PCIE_APPLE) += pcie-apple.o |
| 42 |
obj-$(CONFIG_PCIE_MT7621) += pcie-mt7621.o |
| 43 |
obj-$(CONFIG_PCIE_ASPEED) += pcie-aspeed.o |
| 44 |
|
| 45 |
# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW |
| 46 |
obj-y += dwc/ |
| 47 |
obj-y += mobiveil/ |
| 48 |
obj-y += plda/ |
| 49 |
|
| 50 |
|
| 51 |
# The following drivers are for devices that use the generic ACPI |
| 52 |
# pci_root.c driver but don't support standard ECAM config access. |
| 53 |
# They contain MCFG quirks to replace the generic ECAM accessors with |
| 54 |
# device-specific ones that are shared with the DT driver. |
| 55 |
|
| 56 |
# The ACPI driver is generic and should not require driver-specific |
| 57 |
# config options to be enabled, so we always build these drivers on |
| 58 |
# ARM64 and use internal ifdefs to only build the pieces we need |
| 59 |
# depending on whether ACPI, the DT driver, or both are enabled. |
| 60 |
|
| 61 |
ifdef CONFIG_ACPI |
| 62 |
ifdef CONFIG_PCI_QUIRKS |
| 63 |
obj-$(CONFIG_ARM64) += pci-thunder-ecam.o |
| 64 |
obj-$(CONFIG_ARM64) += pci-thunder-pem.o |
| 65 |
obj-$(CONFIG_ARM64) += pci-xgene.o |
| 66 |
endif |
| 67 |
endif |