xref: /linux/drivers/pci/controller/dwc/Makefile (revision a512360f45c930e14a262056e5f742797bc5d3f2)
16e0832faSShawn Lin# SPDX-License-Identifier: GPL-2.0
26e0832faSShawn Linobj-$(CONFIG_PCIE_DW) += pcie-designware.o
36e0832faSShawn Linobj-$(CONFIG_PCIE_DW_HOST) += pcie-designware-host.o
46e0832faSShawn Linobj-$(CONFIG_PCIE_DW_EP) += pcie-designware-ep.o
56e0832faSShawn Linobj-$(CONFIG_PCIE_DW_PLAT) += pcie-designware-plat.o
66e0832faSShawn Linobj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
76e0832faSShawn Linobj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
8e7e21b3aSPaul Walmsleyobj-$(CONFIG_PCIE_FU740) += pcie-fu740.o
96e0832faSShawn Linobj-$(CONFIG_PCI_IMX6) += pci-imx6.o
106e0832faSShawn Linobj-$(CONFIG_PCIE_SPEAR13XX) += pcie-spear13xx.o
11b492aca3SKishon Vijay Abraham Iobj-$(CONFIG_PCI_KEYSTONE) += pci-keystone.o
12b5b24617SXiaowei Baoobj-$(CONFIG_PCI_LAYERSCAPE) += pci-layerscape.o
13b5b24617SXiaowei Baoobj-$(CONFIG_PCI_LAYERSCAPE_EP) += pci-layerscape-ep.o
146e0832faSShawn Linobj-$(CONFIG_PCIE_QCOM) += pcie-qcom.o
156e0832faSShawn Linobj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
166e0832faSShawn Linobj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
17ed22aaaeSDilip Kotaobj-$(CONFIG_PCIE_INTEL_GW) += pcie-intel-gw.o
186e0832faSShawn Linobj-$(CONFIG_PCIE_KIRIN) += pcie-kirin.o
196e0832faSShawn Linobj-$(CONFIG_PCIE_HISI_STB) += pcie-histb.o
209c0ef6d3SYue Wangobj-$(CONFIG_PCI_MESON) += pci-meson.o
21*a512360fSJon Hunterobj-$(CONFIG_PCIE_TEGRA194) += pcie-tegra194.o
227e6d5cd8SKunihiko Hayashiobj-$(CONFIG_PCIE_UNIPHIER) += pcie-uniphier.o
238d7e33d6SKunihiko Hayashiobj-$(CONFIG_PCIE_UNIPHIER_EP) += pcie-uniphier-ep.o
246e0832faSShawn Lin
256e0832faSShawn Lin# The following drivers are for devices that use the generic ACPI
266e0832faSShawn Lin# pci_root.c driver but don't support standard ECAM config access.
276e0832faSShawn Lin# They contain MCFG quirks to replace the generic ECAM accessors with
286e0832faSShawn Lin# device-specific ones that are shared with the DT driver.
296e0832faSShawn Lin
306e0832faSShawn Lin# The ACPI driver is generic and should not require driver-specific
316e0832faSShawn Lin# config options to be enabled, so we always build these drivers on
326e0832faSShawn Lin# ARM64 and use internal ifdefs to only build the pieces we need
336e0832faSShawn Lin# depending on whether ACPI, the DT driver, or both are enabled.
346e0832faSShawn Lin
356e5a1fffSArnd Bergmannobj-$(CONFIG_PCIE_AL) += pcie-al.o
366e5a1fffSArnd Bergmannobj-$(CONFIG_PCI_HISI) += pcie-hisi.o
376e5a1fffSArnd Bergmann
386e5a1fffSArnd Bergmannifdef CONFIG_ACPI
396e5a1fffSArnd Bergmannifdef CONFIG_PCI_QUIRKS
404166bfe5SJonathan Chocronobj-$(CONFIG_ARM64) += pcie-al.o
416e0832faSShawn Linobj-$(CONFIG_ARM64) += pcie-hisi.o
42*a512360fSJon Hunterobj-$(CONFIG_ARM64) += pcie-tegra194-acpi.o
436e0832faSShawn Linendif
446e5a1fffSArnd Bergmannendif
45