Makefile 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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_PCIE_BT1) += pcie-bt1.o
  7. obj-$(CONFIG_PCI_DRA7XX) += pci-dra7xx.o
  8. obj-$(CONFIG_PCI_EXYNOS) += pci-exynos.o
  9. obj-$(CONFIG_PCIE_FU740) += pcie-fu740.o
  10. obj-$(CONFIG_PCI_IMX6) += pci-imx6.o
  11. obj-$(CONFIG_PCIE_SPEAR13XX) += pcie-spear13xx.o
  12. obj-$(CONFIG_PCI_KEYSTONE) += pci-keystone.o
  13. obj-$(CONFIG_PCI_LAYERSCAPE) += pci-layerscape.o
  14. obj-$(CONFIG_PCI_LAYERSCAPE_EP) += pci-layerscape-ep.o
  15. obj-$(CONFIG_PCIE_QCOM_COMMON) += pcie-qcom-common.o
  16. obj-$(CONFIG_PCIE_QCOM) += pcie-qcom.o
  17. obj-$(CONFIG_PCIE_QCOM_EP) += pcie-qcom-ep.o
  18. obj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
  19. obj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
  20. obj-$(CONFIG_PCIE_ROCKCHIP_DW) += pcie-dw-rockchip.o
  21. obj-$(CONFIG_PCIE_INTEL_GW) += pcie-intel-gw.o
  22. obj-$(CONFIG_PCIE_KEEMBAY) += pcie-keembay.o
  23. obj-$(CONFIG_PCIE_KIRIN) += pcie-kirin.o
  24. obj-$(CONFIG_PCIE_HISI_STB) += pcie-histb.o
  25. obj-$(CONFIG_PCI_MESON) += pci-meson.o
  26. obj-$(CONFIG_PCIE_TEGRA194) += pcie-tegra194.o
  27. obj-$(CONFIG_PCIE_UNIPHIER) += pcie-uniphier.o
  28. obj-$(CONFIG_PCIE_UNIPHIER_EP) += pcie-uniphier-ep.o
  29. obj-$(CONFIG_PCIE_VISCONTI_HOST) += pcie-visconti.o
  30. obj-$(CONFIG_PCIE_RCAR_GEN4) += pcie-rcar-gen4.o
  31. # The following drivers are for devices that use the generic ACPI
  32. # pci_root.c driver but don't support standard ECAM config access.
  33. # They contain MCFG quirks to replace the generic ECAM accessors with
  34. # device-specific ones that are shared with the DT driver.
  35. # The ACPI driver is generic and should not require driver-specific
  36. # config options to be enabled, so we always build these drivers on
  37. # ARM64 and use internal ifdefs to only build the pieces we need
  38. # depending on whether ACPI, the DT driver, or both are enabled.
  39. obj-$(CONFIG_PCIE_AL) += pcie-al.o
  40. obj-$(CONFIG_PCI_HISI) += pcie-hisi.o
  41. ifdef CONFIG_ACPI
  42. ifdef CONFIG_PCI_QUIRKS
  43. obj-$(CONFIG_ARM64) += pcie-al.o
  44. obj-$(CONFIG_ARM64) += pcie-hisi.o
  45. obj-$(CONFIG_ARM64) += pcie-tegra194-acpi.o
  46. endif
  47. endif