162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciobj-$(CONFIG_PCIE_DW) += pcie-designware.o
362306a36Sopenharmony_ciobj-$(CONFIG_PCIE_DW_HOST) += pcie-designware-host.o
462306a36Sopenharmony_ciobj-$(CONFIG_PCIE_DW_EP) += pcie-designware-ep.o
562306a36Sopenharmony_ciobj-$(CONFIG_PCIE_DW_PLAT) += pcie-designware-plat.o
662306a36Sopenharmony_ciobj-$(CONFIG_PCIE_BT1) += pcie-bt1.o
762306a36Sopenharmony_ciobj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
862306a36Sopenharmony_ciobj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
962306a36Sopenharmony_ciobj-$(CONFIG_PCIE_FU740) += pcie-fu740.o
1062306a36Sopenharmony_ciobj-$(CONFIG_PCI_IMX6) += pci-imx6.o
1162306a36Sopenharmony_ciobj-$(CONFIG_PCIE_SPEAR13XX) += pcie-spear13xx.o
1262306a36Sopenharmony_ciobj-$(CONFIG_PCI_KEYSTONE) += pci-keystone.o
1362306a36Sopenharmony_ciobj-$(CONFIG_PCI_LAYERSCAPE) += pci-layerscape.o
1462306a36Sopenharmony_ciobj-$(CONFIG_PCI_LAYERSCAPE_EP) += pci-layerscape-ep.o
1562306a36Sopenharmony_ciobj-$(CONFIG_PCIE_QCOM) += pcie-qcom.o
1662306a36Sopenharmony_ciobj-$(CONFIG_PCIE_QCOM_EP) += pcie-qcom-ep.o
1762306a36Sopenharmony_ciobj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
1862306a36Sopenharmony_ciobj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
1962306a36Sopenharmony_ciobj-$(CONFIG_PCIE_ROCKCHIP_DW_HOST) += pcie-dw-rockchip.o
2062306a36Sopenharmony_ciobj-$(CONFIG_PCIE_INTEL_GW) += pcie-intel-gw.o
2162306a36Sopenharmony_ciobj-$(CONFIG_PCIE_KEEMBAY) += pcie-keembay.o
2262306a36Sopenharmony_ciobj-$(CONFIG_PCIE_KIRIN) += pcie-kirin.o
2362306a36Sopenharmony_ciobj-$(CONFIG_PCIE_HISI_STB) += pcie-histb.o
2462306a36Sopenharmony_ciobj-$(CONFIG_PCI_MESON) += pci-meson.o
2562306a36Sopenharmony_ciobj-$(CONFIG_PCIE_TEGRA194) += pcie-tegra194.o
2662306a36Sopenharmony_ciobj-$(CONFIG_PCIE_UNIPHIER) += pcie-uniphier.o
2762306a36Sopenharmony_ciobj-$(CONFIG_PCIE_UNIPHIER_EP) += pcie-uniphier-ep.o
2862306a36Sopenharmony_ciobj-$(CONFIG_PCIE_VISCONTI_HOST) += pcie-visconti.o
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci# The following drivers are for devices that use the generic ACPI
3162306a36Sopenharmony_ci# pci_root.c driver but don't support standard ECAM config access.
3262306a36Sopenharmony_ci# They contain MCFG quirks to replace the generic ECAM accessors with
3362306a36Sopenharmony_ci# device-specific ones that are shared with the DT driver.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci# The ACPI driver is generic and should not require driver-specific
3662306a36Sopenharmony_ci# config options to be enabled, so we always build these drivers on
3762306a36Sopenharmony_ci# ARM64 and use internal ifdefs to only build the pieces we need
3862306a36Sopenharmony_ci# depending on whether ACPI, the DT driver, or both are enabled.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciobj-$(CONFIG_PCIE_AL) += pcie-al.o
4162306a36Sopenharmony_ciobj-$(CONFIG_PCI_HISI) += pcie-hisi.o
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciifdef CONFIG_ACPI
4462306a36Sopenharmony_ciifdef CONFIG_PCI_QUIRKS
4562306a36Sopenharmony_ciobj-$(CONFIG_ARM64) += pcie-al.o
4662306a36Sopenharmony_ciobj-$(CONFIG_ARM64) += pcie-hisi.o
4762306a36Sopenharmony_ciobj-$(CONFIG_ARM64) += pcie-tegra194-acpi.o
4862306a36Sopenharmony_ciendif
4962306a36Sopenharmony_ciendif
50