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