xref: /linux/drivers/pci/controller/dwc/Makefile (revision 6e0832fa432ec99c94caee733c8f5851cf85560b)
1*6e0832faSShawn Lin# SPDX-License-Identifier: GPL-2.0
2*6e0832faSShawn Linobj-$(CONFIG_PCIE_DW) += pcie-designware.o
3*6e0832faSShawn Linobj-$(CONFIG_PCIE_DW_HOST) += pcie-designware-host.o
4*6e0832faSShawn Linobj-$(CONFIG_PCIE_DW_EP) += pcie-designware-ep.o
5*6e0832faSShawn Linobj-$(CONFIG_PCIE_DW_PLAT) += pcie-designware-plat.o
6*6e0832faSShawn Linobj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
7*6e0832faSShawn Linobj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
8*6e0832faSShawn Linobj-$(CONFIG_PCI_IMX6) += pci-imx6.o
9*6e0832faSShawn Linobj-$(CONFIG_PCIE_SPEAR13XX) += pcie-spear13xx.o
10*6e0832faSShawn Linobj-$(CONFIG_PCI_KEYSTONE) += pci-keystone-dw.o pci-keystone.o
11*6e0832faSShawn Linobj-$(CONFIG_PCI_LAYERSCAPE) += pci-layerscape.o
12*6e0832faSShawn Linobj-$(CONFIG_PCIE_QCOM) += pcie-qcom.o
13*6e0832faSShawn Linobj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
14*6e0832faSShawn Linobj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
15*6e0832faSShawn Linobj-$(CONFIG_PCIE_KIRIN) += pcie-kirin.o
16*6e0832faSShawn Linobj-$(CONFIG_PCIE_HISI_STB) += pcie-histb.o
17*6e0832faSShawn Lin
18*6e0832faSShawn Lin# The following drivers are for devices that use the generic ACPI
19*6e0832faSShawn Lin# pci_root.c driver but don't support standard ECAM config access.
20*6e0832faSShawn Lin# They contain MCFG quirks to replace the generic ECAM accessors with
21*6e0832faSShawn Lin# device-specific ones that are shared with the DT driver.
22*6e0832faSShawn Lin
23*6e0832faSShawn Lin# The ACPI driver is generic and should not require driver-specific
24*6e0832faSShawn Lin# config options to be enabled, so we always build these drivers on
25*6e0832faSShawn Lin# ARM64 and use internal ifdefs to only build the pieces we need
26*6e0832faSShawn Lin# depending on whether ACPI, the DT driver, or both are enabled.
27*6e0832faSShawn Lin
28*6e0832faSShawn Linifdef CONFIG_PCI
29*6e0832faSShawn Linobj-$(CONFIG_ARM64) += pcie-hisi.o
30*6e0832faSShawn Linendif
31