blob: a751553fa0dbd027645938097d88b3b389ce521b [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001# 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
6obj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
7obj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
8obj-$(CONFIG_PCI_IMX6) += pci-imx6.o
9obj-$(CONFIG_PCIE_SPEAR13XX) += pcie-spear13xx.o
David Brazdil0f672f62019-12-10 10:32:29 +000010obj-$(CONFIG_PCI_KEYSTONE) += pci-keystone.o
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000011obj-$(CONFIG_PCI_LAYERSCAPE) += pci-layerscape.o
David Brazdil0f672f62019-12-10 10:32:29 +000012obj-$(CONFIG_PCI_LAYERSCAPE_EP) += pci-layerscape-ep.o
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000013obj-$(CONFIG_PCIE_QCOM) += pcie-qcom.o
14obj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
15obj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
Olivier Deprez157378f2022-04-04 15:47:50 +020016obj-$(CONFIG_PCIE_INTEL_GW) += pcie-intel-gw.o
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000017obj-$(CONFIG_PCIE_KIRIN) += pcie-kirin.o
18obj-$(CONFIG_PCIE_HISI_STB) += pcie-histb.o
David Brazdil0f672f62019-12-10 10:32:29 +000019obj-$(CONFIG_PCI_MESON) += pci-meson.o
20obj-$(CONFIG_PCIE_TEGRA194) += pcie-tegra194.o
21obj-$(CONFIG_PCIE_UNIPHIER) += pcie-uniphier.o
Olivier Deprez157378f2022-04-04 15:47:50 +020022obj-$(CONFIG_PCIE_UNIPHIER_EP) += pcie-uniphier-ep.o
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000023
24# The following drivers are for devices that use the generic ACPI
25# pci_root.c driver but don't support standard ECAM config access.
26# They contain MCFG quirks to replace the generic ECAM accessors with
27# device-specific ones that are shared with the DT driver.
28
29# The ACPI driver is generic and should not require driver-specific
30# config options to be enabled, so we always build these drivers on
31# ARM64 and use internal ifdefs to only build the pieces we need
32# depending on whether ACPI, the DT driver, or both are enabled.
33
34ifdef CONFIG_PCI
David Brazdil0f672f62019-12-10 10:32:29 +000035obj-$(CONFIG_ARM64) += pcie-al.o
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000036obj-$(CONFIG_ARM64) += pcie-hisi.o
37endif