blob: e73661182da0e65e7030e7acb8ce052789a612d1 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_PCIE_DW) += pcie-designware.o
3obj-$(CONFIG_PCIE_DW_HOST) += pcie-designware-host.o
4obj-$(CONFIG_PCIE_DW_EP) += pcie-designware-ep.o
5obj-$(CONFIG_PCIE_DW_PLAT) += pcie-designware-plat.o
6ifneq ($(filter y,$(CONFIG_PCI_DRA7XX_HOST) $(CONFIG_PCI_DRA7XX_EP)),)
7 obj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
8endif
9obj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
10obj-$(CONFIG_PCI_IMX6) += pci-imx6.o
11obj-$(CONFIG_PCIE_SPEAR13XX) += pcie-spear13xx.o
12obj-$(CONFIG_PCI_KEYSTONE) += pci-keystone-dw.o pci-keystone.o
13obj-$(CONFIG_PCI_LAYERSCAPE) += pci-layerscape.o
14obj-$(CONFIG_PCIE_QCOM) += pcie-qcom.o
15obj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
16obj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
17obj-$(CONFIG_PCIE_KIRIN) += pcie-kirin.o
18
19# The following drivers are for devices that use the generic ACPI
20# pci_root.c driver but don't support standard ECAM config access.
21# They contain MCFG quirks to replace the generic ECAM accessors with
22# device-specific ones that are shared with the DT driver.
23
24# The ACPI driver is generic and should not require driver-specific
25# config options to be enabled, so we always build these drivers on
26# ARM64 and use internal ifdefs to only build the pieces we need
27# depending on whether ACPI, the DT driver, or both are enabled.
28
29obj-$(CONFIG_ARM64) += pcie-hisi.o