xref: /linux/drivers/pci/controller/dwc/Makefile (revision 0bd0a41a5120f78685a132834865b0a631b9026a)
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
8ba6ed462SSerge Seminobj-$(CONFIG_PCIE_BT1) += pcie-bt1.o
96e0832faSShawn Linobj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
106e0832faSShawn Linobj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
11e7e21b3aSPaul Walmsleyobj-$(CONFIG_PCIE_FU740) += pcie-fu740.o
126e0832faSShawn Linobj-$(CONFIG_PCI_IMX6) += pci-imx6.o
136e0832faSShawn Linobj-$(CONFIG_PCIE_SPEAR13XX) += pcie-spear13xx.o
14b492aca3SKishon Vijay Abraham Iobj-$(CONFIG_PCI_KEYSTONE) += pci-keystone.o
15b5b24617SXiaowei Baoobj-$(CONFIG_PCI_LAYERSCAPE) += pci-layerscape.o
16b5b24617SXiaowei Baoobj-$(CONFIG_PCI_LAYERSCAPE_EP) += pci-layerscape-ep.o
17d45736b5SShashank Babu Chinta Venkataobj-$(CONFIG_PCIE_QCOM_COMMON) += pcie-qcom-common.o
186e0832faSShawn Linobj-$(CONFIG_PCIE_QCOM) += pcie-qcom.o
19f55fee56SManivannan Sadhasivamobj-$(CONFIG_PCIE_QCOM_EP) += pcie-qcom-ep.o
206e0832faSShawn Linobj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
216e0832faSShawn Linobj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
22e242f26fSNiklas Casselobj-$(CONFIG_PCIE_ROCKCHIP_DW) += pcie-dw-rockchip.o
23*467d9c03SInochi Amaotoobj-$(CONFIG_PCIE_SOPHGO_DW) += pcie-sophgo.o
24ed22aaaeSDilip Kotaobj-$(CONFIG_PCIE_INTEL_GW) += pcie-intel-gw.o
250c87f90bSSrikanth Thokalaobj-$(CONFIG_PCIE_KEEMBAY) += pcie-keembay.o
266e0832faSShawn Linobj-$(CONFIG_PCIE_KIRIN) += pcie-kirin.o
276e0832faSShawn Linobj-$(CONFIG_PCIE_HISI_STB) += pcie-histb.o
289c0ef6d3SYue Wangobj-$(CONFIG_PCI_MESON) += pci-meson.o
29a512360fSJon Hunterobj-$(CONFIG_PCIE_TEGRA194) += pcie-tegra194.o
307e6d5cd8SKunihiko Hayashiobj-$(CONFIG_PCIE_UNIPHIER) += pcie-uniphier.o
318d7e33d6SKunihiko Hayashiobj-$(CONFIG_PCIE_UNIPHIER_EP) += pcie-uniphier-ep.o
32da36024aSNobuhiro Iwamatsuobj-$(CONFIG_PCIE_VISCONTI_HOST) += pcie-visconti.o
330d0c5510SYoshihiro Shimodaobj-$(CONFIG_PCIE_RCAR_GEN4) += pcie-rcar-gen4.o
346e0832faSShawn Lin
356e0832faSShawn Lin# The following drivers are for devices that use the generic ACPI
366e0832faSShawn Lin# pci_root.c driver but don't support standard ECAM config access.
376e0832faSShawn Lin# They contain MCFG quirks to replace the generic ECAM accessors with
386e0832faSShawn Lin# device-specific ones that are shared with the DT driver.
396e0832faSShawn Lin
406e0832faSShawn Lin# The ACPI driver is generic and should not require driver-specific
416e0832faSShawn Lin# config options to be enabled, so we always build these drivers on
426e0832faSShawn Lin# ARM64 and use internal ifdefs to only build the pieces we need
436e0832faSShawn Lin# depending on whether ACPI, the DT driver, or both are enabled.
446e0832faSShawn Lin
456e5a1fffSArnd Bergmannobj-$(CONFIG_PCIE_AL) += pcie-al.o
466e5a1fffSArnd Bergmannobj-$(CONFIG_PCI_HISI) += pcie-hisi.o
476e5a1fffSArnd Bergmann
486e5a1fffSArnd Bergmannifdef CONFIG_ACPI
496e5a1fffSArnd Bergmannifdef CONFIG_PCI_QUIRKS
504166bfe5SJonathan Chocronobj-$(CONFIG_ARM64) += pcie-al.o
516e0832faSShawn Linobj-$(CONFIG_ARM64) += pcie-hisi.o
52a512360fSJon Hunterobj-$(CONFIG_ARM64) += pcie-tegra194-acpi.o
536e0832faSShawn Linendif
546e5a1fffSArnd Bergmannendif
55