blob: d56a507495c5edd902a6012420924b9b837203a5 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Shawn Lin6e0832f2018-05-31 09:12:37 +08002obj-$(CONFIG_PCIE_CADENCE) += pcie-cadence.o
3obj-$(CONFIG_PCIE_CADENCE_HOST) += pcie-cadence-host.o
4obj-$(CONFIG_PCIE_CADENCE_EP) += pcie-cadence-ep.o
Linus Walleijd3c68e02017-03-12 23:24:03 +01005obj-$(CONFIG_PCI_FTPCI100) += pci-ftpci100.o
Jake Oshins4daace02016-02-16 21:56:23 +00006obj-$(CONFIG_PCI_HYPERV) += pci-hyperv.o
Jingoo Han4b1ced82013-07-31 17:14:10 +09007obj-$(CONFIG_PCI_MVEBU) += pci-mvebu.o
Thomas Petazzoni8c39d712016-06-30 11:32:31 +02008obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
Thierry Redingd1523b52013-08-09 16:49:19 +02009obj-$(CONFIG_PCI_TEGRA) += pci-tegra.o
Valentine Barshakba3eb9f2013-10-29 20:12:51 +040010obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
Simon Horman350a73b2016-04-21 13:51:55 +100011obj-$(CONFIG_PCIE_RCAR) += pcie-rcar.o
David Daney4e64dbe2016-03-11 15:35:55 -060012obj-$(CONFIG_PCI_HOST_COMMON) += pci-host-common.o
Will Deaconce292992013-11-22 16:14:41 +000013obj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o
Srikanth Thokala8961def2014-08-20 21:56:02 +053014obj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o
Bharat Kumar Gogadaab597d32016-03-06 22:02:14 +053015obj-$(CONFIG_PCIE_XILINX_NWL) += pcie-xilinx-nwl.o
Linus Walleij68a15eb2017-09-26 13:02:20 -050016obj-$(CONFIG_PCI_V3_SEMI) += pci-v3-semi.o
Duc Dangdcd19de2015-06-05 15:56:34 -050017obj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o
Rob Herringb7e78172015-01-28 10:16:18 -060018obj-$(CONFIG_PCI_VERSATILE) += pci-versatile.o
Ray Jui1fb37a82015-04-08 11:21:35 -070019obj-$(CONFIG_PCIE_IPROC) += pcie-iproc.o
Ray Jui3bc2b232016-01-06 18:04:35 -060020obj-$(CONFIG_PCIE_IPROC_MSI) += pcie-iproc-msi.o
Ray Jui1fb37a82015-04-08 11:21:35 -070021obj-$(CONFIG_PCIE_IPROC_PLATFORM) += pcie-iproc-platform.o
Hauke Mehrtens4785ffb2015-05-12 23:23:01 +020022obj-$(CONFIG_PCIE_IPROC_BCMA) += pcie-iproc-bcma.o
Ley Foon Taneaa61112015-10-23 18:27:12 +080023obj-$(CONFIG_PCIE_ALTERA) += pcie-altera.o
Ley Foon Tanaf1169b2015-10-23 18:27:13 +080024obj-$(CONFIG_PCIE_ALTERA_MSI) += pcie-altera-msi.o
Shawn Line77f8472016-09-03 11:41:09 -050025obj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o
Shawn Lincf590b02018-05-09 09:12:59 +080026obj-$(CONFIG_PCIE_ROCKCHIP_EP) += pcie-rockchip-ep.o
Shawn Lin956cd992018-05-09 09:11:49 +080027obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
Ryder Lee637cfaca2017-05-21 11:42:24 +080028obj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
Lorenzo Pieralisi6f2c73c2018-07-30 13:09:56 +010029obj-$(CONFIG_PCIE_MOBIVEIL) += pcie-mobiveil.o
Marc Gonzalez5e14e9f2017-06-20 10:17:40 +020030obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
Keith Busch181ffd12016-10-04 12:26:37 -050031obj-$(CONFIG_VMD) += vmd.o
Shawn Lin6e0832f2018-05-31 09:12:37 +080032# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
33obj-y += dwc/
34
Bjorn Helgaasca5ab37b2016-12-06 14:27:59 -060035
36# The following drivers are for devices that use the generic ACPI
37# pci_root.c driver but don't support standard ECAM config access.
38# They contain MCFG quirks to replace the generic ECAM accessors with
39# device-specific ones that are shared with the DT driver.
40
41# The ACPI driver is generic and should not require driver-specific
42# config options to be enabled, so we always build these drivers on
43# ARM64 and use internal ifdefs to only build the pieces we need
44# depending on whether ACPI, the DT driver, or both are enabled.
45
Cyrille Pitchen9de0eec2018-01-30 21:56:49 +010046ifdef CONFIG_PCI
Bjorn Helgaasca5ab37b2016-12-06 14:27:59 -060047obj-$(CONFIG_ARM64) += pci-thunder-ecam.o
48obj-$(CONFIG_ARM64) += pci-thunder-pem.o
49obj-$(CONFIG_ARM64) += pci-xgene.o
Cyrille Pitchen9de0eec2018-01-30 21:56:49 +010050endif