16e0832faSShawn Lin# SPDX-License-Identifier: GPL-2.0 26e0832faSShawn Linobj-$(CONFIG_PCIE_DW) += pcie-designware.o 34fbfa17fSShradha Todiobj-$(CONFIG_PCIE_DW_DEBUGFS) += pcie-designware-debugfs.o 46e0832faSShawn Linobj-$(CONFIG_PCIE_DW_HOST) += pcie-designware-host.o 56e0832faSShawn Linobj-$(CONFIG_PCIE_DW_EP) += pcie-designware-ep.o 66e0832faSShawn Linobj-$(CONFIG_PCIE_DW_PLAT) += pcie-designware-plat.o 75f3de23dSThippeswamy Havaligeobj-$(CONFIG_PCIE_AMD_MDB) += pcie-amd-mdb.o 8df5d8fb6SRandolph Linobj-$(CONFIG_PCIE_ANDES_QILAI) += pcie-andes-qilai.o 9*b593c26dSSenchuan Zhangobj-$(CONFIG_PCIE_ESWIN) += pcie-eswin.o 106e0832faSShawn Linobj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o 116e0832faSShawn Linobj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o 12e7e21b3aSPaul Walmsleyobj-$(CONFIG_PCIE_FU740) += pcie-fu740.o 136e0832faSShawn Linobj-$(CONFIG_PCI_IMX6) += pci-imx6.o 145cbc7d3eSVincent Guittotobj-$(CONFIG_PCIE_NXP_S32G) += pcie-nxp-s32g.o 156e0832faSShawn Linobj-$(CONFIG_PCIE_SPEAR13XX) += pcie-spear13xx.o 16bc10d0adSSiddharth Vadapalli# ARM32 platforms use hook_fault_code() and cannot support loadable module. 17b492aca3SKishon Vijay Abraham Iobj-$(CONFIG_PCI_KEYSTONE) += pci-keystone.o 18bc10d0adSSiddharth Vadapalli# On non-ARM32 platforms, loadable module can be supported. 19bc10d0adSSiddharth Vadapalliobj-$(CONFIG_PCI_KEYSTONE_TRISTATE) += pci-keystone.o 20b5b24617SXiaowei Baoobj-$(CONFIG_PCI_LAYERSCAPE) += pci-layerscape.o 21b5b24617SXiaowei Baoobj-$(CONFIG_PCI_LAYERSCAPE_EP) += pci-layerscape-ep.o 22d45736b5SShashank Babu Chinta Venkataobj-$(CONFIG_PCIE_QCOM_COMMON) += pcie-qcom-common.o 236e0832faSShawn Linobj-$(CONFIG_PCIE_QCOM) += pcie-qcom.o 24f55fee56SManivannan Sadhasivamobj-$(CONFIG_PCIE_QCOM_EP) += pcie-qcom-ep.o 256e0832faSShawn Linobj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o 266e0832faSShawn Linobj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o 27e242f26fSNiklas Casselobj-$(CONFIG_PCIE_ROCKCHIP_DW) += pcie-dw-rockchip.o 28467d9c03SInochi Amaotoobj-$(CONFIG_PCIE_SOPHGO_DW) += pcie-sophgo.o 29ed22aaaeSDilip Kotaobj-$(CONFIG_PCIE_INTEL_GW) += pcie-intel-gw.o 300c87f90bSSrikanth Thokalaobj-$(CONFIG_PCIE_KEEMBAY) += pcie-keembay.o 316e0832faSShawn Linobj-$(CONFIG_PCIE_KIRIN) += pcie-kirin.o 326e0832faSShawn Linobj-$(CONFIG_PCIE_HISI_STB) += pcie-histb.o 339c0ef6d3SYue Wangobj-$(CONFIG_PCI_MESON) += pci-meson.o 34a512360fSJon Hunterobj-$(CONFIG_PCIE_TEGRA194) += pcie-tegra194.o 357e6d5cd8SKunihiko Hayashiobj-$(CONFIG_PCIE_UNIPHIER) += pcie-uniphier.o 368d7e33d6SKunihiko Hayashiobj-$(CONFIG_PCIE_UNIPHIER_EP) += pcie-uniphier-ep.o 37da36024aSNobuhiro Iwamatsuobj-$(CONFIG_PCIE_VISCONTI_HOST) += pcie-visconti.o 380d0c5510SYoshihiro Shimodaobj-$(CONFIG_PCIE_RCAR_GEN4) += pcie-rcar-gen4.o 39ff64e078SAlex Elderobj-$(CONFIG_PCIE_SPACEMIT_K1) += pcie-spacemit-k1.o 4063a562b3SChristian Bruelobj-$(CONFIG_PCIE_STM32_HOST) += pcie-stm32.o 41151f3d29SChristian Bruelobj-$(CONFIG_PCIE_STM32_EP) += pcie-stm32-ep.o 426e0832faSShawn Lin 436e0832faSShawn Lin# The following drivers are for devices that use the generic ACPI 446e0832faSShawn Lin# pci_root.c driver but don't support standard ECAM config access. 456e0832faSShawn Lin# They contain MCFG quirks to replace the generic ECAM accessors with 466e0832faSShawn Lin# device-specific ones that are shared with the DT driver. 476e0832faSShawn Lin 486e0832faSShawn Lin# The ACPI driver is generic and should not require driver-specific 496e0832faSShawn Lin# config options to be enabled, so we always build these drivers on 506e0832faSShawn Lin# ARM64 and use internal ifdefs to only build the pieces we need 516e0832faSShawn Lin# depending on whether ACPI, the DT driver, or both are enabled. 526e0832faSShawn Lin 536e5a1fffSArnd Bergmannobj-$(CONFIG_PCIE_AL) += pcie-al.o 546e5a1fffSArnd Bergmannobj-$(CONFIG_PCI_HISI) += pcie-hisi.o 556e5a1fffSArnd Bergmann 566e5a1fffSArnd Bergmannifdef CONFIG_ACPI 576e5a1fffSArnd Bergmannifdef CONFIG_PCI_QUIRKS 584166bfe5SJonathan Chocronobj-$(CONFIG_ARM64) += pcie-al.o 596e0832faSShawn Linobj-$(CONFIG_ARM64) += pcie-hisi.o 60a512360fSJon Hunterobj-$(CONFIG_ARM64) += pcie-tegra194-acpi.o 616e0832faSShawn Linendif 626e5a1fffSArnd Bergmannendif 63