162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciobj-$(CONFIG_PCIE_CADENCE) += cadence/
362306a36Sopenharmony_ciobj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
462306a36Sopenharmony_ciobj-$(CONFIG_PCI_IXP4XX) += pci-ixp4xx.o
562306a36Sopenharmony_ciobj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o
662306a36Sopenharmony_ciobj-$(CONFIG_PCI_HYPERV_INTERFACE) += pci-hyperv-intf.o
762306a36Sopenharmony_ciobj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
862306a36Sopenharmony_ciobj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
962306a36Sopenharmony_ciobj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
1062306a36Sopenharmony_ciobj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
1162306a36Sopenharmony_ciobj-$(CONFIG_PCIE_RCAR_HOST) += pcie-rcar.o pcie-rcar-host.o
1262306a36Sopenharmony_ciobj-$(CONFIG_PCIE_RCAR_EP) += pcie-rcar.o pcie-rcar-ep.o
1362306a36Sopenharmony_ciobj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o
1462306a36Sopenharmony_ciobj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o
1562306a36Sopenharmony_ciobj-$(CONFIG_PCI_HOST_THUNDER_ECAM) += pci-thunder-ecam.o
1662306a36Sopenharmony_ciobj-$(CONFIG_PCI_HOST_THUNDER_PEM) += pci-thunder-pem.o
1762306a36Sopenharmony_ciobj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o
1862306a36Sopenharmony_ciobj-$(CONFIG_PCIE_XILINX_NWL) += pcie-xilinx-nwl.o
1962306a36Sopenharmony_ciobj-$(CONFIG_PCIE_XILINX_CPM) += pcie-xilinx-cpm.o
2062306a36Sopenharmony_ciobj-$(CONFIG_PCI_V3_SEMI) += pci-v3-semi.o
2162306a36Sopenharmony_ciobj-$(CONFIG_PCI_XGENE) += pci-xgene.o
2262306a36Sopenharmony_ciobj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o
2362306a36Sopenharmony_ciobj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o
2462306a36Sopenharmony_ciobj-$(CONFIG_PCIE_IPROC) += pcie-iproc.o
2562306a36Sopenharmony_ciobj-$(CONFIG_PCIE_IPROC_MSI) += pcie-iproc-msi.o
2662306a36Sopenharmony_ciobj-$(CONFIG_PCIE_IPROC_PLATFORM) += pcie-iproc-platform.o
2762306a36Sopenharmony_ciobj-$(CONFIG_PCIE_IPROC_BCMA) += pcie-iproc-bcma.o
2862306a36Sopenharmony_ciobj-$(CONFIG_PCIE_ALTERA) += pcie-altera.o
2962306a36Sopenharmony_ciobj-$(CONFIG_PCIE_ALTERA_MSI) += pcie-altera-msi.o
3062306a36Sopenharmony_ciobj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
3162306a36Sopenharmony_ciobj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
3262306a36Sopenharmony_ciobj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
3362306a36Sopenharmony_ciobj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
3462306a36Sopenharmony_ciobj-$(CONFIG_PCIE_MEDIATEK_GEN3) += pcie-mediatek-gen3.o
3562306a36Sopenharmony_ciobj-$(CONFIG_PCIE_MICROCHIP_HOST) += pcie-microchip-host.o
3662306a36Sopenharmony_ciobj-$(CONFIG_VMD) += vmd.o
3762306a36Sopenharmony_ciobj-$(CONFIG_PCIE_BRCMSTB) += pcie-brcmstb.o
3862306a36Sopenharmony_ciobj-$(CONFIG_PCI_LOONGSON) += pci-loongson.o
3962306a36Sopenharmony_ciobj-$(CONFIG_PCIE_HISI_ERR) += pcie-hisi-error.o
4062306a36Sopenharmony_ciobj-$(CONFIG_PCIE_APPLE) += pcie-apple.o
4162306a36Sopenharmony_ciobj-$(CONFIG_PCIE_MT7621) += pcie-mt7621.o
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
4462306a36Sopenharmony_ciobj-y				+= dwc/
4562306a36Sopenharmony_ciobj-y				+= mobiveil/
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci# The following drivers are for devices that use the generic ACPI
4962306a36Sopenharmony_ci# pci_root.c driver but don't support standard ECAM config access.
5062306a36Sopenharmony_ci# They contain MCFG quirks to replace the generic ECAM accessors with
5162306a36Sopenharmony_ci# device-specific ones that are shared with the DT driver.
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ci# The ACPI driver is generic and should not require driver-specific
5462306a36Sopenharmony_ci# config options to be enabled, so we always build these drivers on
5562306a36Sopenharmony_ci# ARM64 and use internal ifdefs to only build the pieces we need
5662306a36Sopenharmony_ci# depending on whether ACPI, the DT driver, or both are enabled.
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciifdef CONFIG_ACPI
5962306a36Sopenharmony_ciifdef CONFIG_PCI_QUIRKS
6062306a36Sopenharmony_ciobj-$(CONFIG_ARM64) += pci-thunder-ecam.o
6162306a36Sopenharmony_ciobj-$(CONFIG_ARM64) += pci-thunder-pem.o
6262306a36Sopenharmony_ciobj-$(CONFIG_ARM64) += pci-xgene.o
6362306a36Sopenharmony_ciendif
6462306a36Sopenharmony_ciendif
65