Makefile 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # SPDX-License-Identifier: GPL-2.0
  2. obj-$(CONFIG_PCIE_CADENCE) += pcie-cadence.o
  3. obj-$(CONFIG_PCIE_CADENCE_HOST) += pcie-cadence-host.o
  4. obj-$(CONFIG_PCIE_CADENCE_EP) += pcie-cadence-ep.o
  5. obj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
  6. obj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o
  7. obj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
  8. obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
  9. obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
  10. obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
  11. obj-$(CONFIG_PCIE_RCAR) += pcie-rcar.o
  12. obj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o
  13. obj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o
  14. obj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o
  15. obj-$(CONFIG_PCIE_XILINX_NWL) += pcie-xilinx-nwl.o
  16. obj-$(CONFIG_PCI_V3_SEMI) += pci-v3-semi.o
  17. obj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o
  18. obj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o
  19. obj-$(CONFIG_PCIE_IPROC) += pcie-iproc.o
  20. obj-$(CONFIG_PCIE_IPROC_MSI) += pcie-iproc-msi.o
  21. obj-$(CONFIG_PCIE_IPROC_PLATFORM) += pcie-iproc-platform.o
  22. obj-$(CONFIG_PCIE_IPROC_BCMA) += pcie-iproc-bcma.o
  23. obj-$(CONFIG_PCIE_ALTERA) += pcie-altera.o
  24. obj-$(CONFIG_PCIE_ALTERA_MSI) += pcie-altera-msi.o
  25. obj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
  26. obj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
  27. obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
  28. obj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
  29. obj-$(CONFIG_PCIE_MOBIVEIL) += pcie-mobiveil.o
  30. obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
  31. obj-$(CONFIG_VMD) += vmd.o
  32. # pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
  33. obj-y += dwc/
  34. # The following drivers are for devices that use the generic ACPI
  35. # pci_root.c driver but don't support standard ECAM config access.
  36. # They contain MCFG quirks to replace the generic ECAM accessors with
  37. # device-specific ones that are shared with the DT driver.
  38. # The ACPI driver is generic and should not require driver-specific
  39. # config options to be enabled, so we always build these drivers on
  40. # ARM64 and use internal ifdefs to only build the pieces we need
  41. # depending on whether ACPI, the DT driver, or both are enabled.
  42. ifdef CONFIG_PCI
  43. obj-$(CONFIG_ARM64) += pci-thunder-ecam.o
  44. obj-$(CONFIG_ARM64) += pci-thunder-pem.o
  45. obj-$(CONFIG_ARM64) += pci-xgene.o
  46. endif