blob: 6568dc9a0884d71c6b8442610c3763c61e6024c6 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Jean-Christophe PLAGNIOL-VILLARD93a686e2007-11-20 20:28:09 +01002#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Jean-Christophe PLAGNIOL-VILLARD93a686e2007-11-20 20:28:09 +01005
Simon Glassff3e0772015-03-05 12:25:25 -07006ifneq ($(CONFIG_DM_PCI),)
Tom Rini923e2112019-11-26 20:40:59 -05007obj-$(CONFIG_DM_VIDEO) += pci_rom.o
Simon Glass5e23b8b2015-11-29 13:17:49 -07008obj-$(CONFIG_PCI) += pci-uclass.o pci_auto.o
Simon Glass3ba5f742015-11-26 19:51:30 -07009obj-$(CONFIG_DM_PCI_COMPAT) += pci_compat.o
Simon Glass537849a2015-03-05 12:25:27 -070010obj-$(CONFIG_PCI_SANDBOX) += pci_sandbox.o
Simon Glass36d0d3b2015-03-05 12:25:28 -070011obj-$(CONFIG_SANDBOX) += pci-emul-uclass.o
Tom Rini923e2112019-11-26 20:40:59 -050012obj-$(CONFIG_X86) += pci_x86.o pci_rom.o
Simon Glassff3e0772015-03-05 12:25:25 -070013else
Simon Glass5e23b8b2015-11-29 13:17:49 -070014obj-$(CONFIG_PCI) += pci.o pci_auto_old.o
Simon Glassff3e0772015-03-05 12:25:25 -070015endif
Simon Glass3f4e1e82015-11-29 13:17:57 -070016obj-$(CONFIG_PCI) += pci_auto_common.o pci_common.o
Simon Glassff3e0772015-03-05 12:25:25 -070017
Tuomas Tynkkynen3675cb02017-09-19 23:18:06 +030018obj-$(CONFIG_PCIE_ECAM_GENERIC) += pcie_ecam_generic.o
Masami Hiramatsu3296d522021-06-04 18:44:06 +090019obj-$(CONFIG_PCIE_ECAM_SYNQUACER) += pcie_ecam_synquacer.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090020obj-$(CONFIG_FSL_PCI_INIT) += fsl_pci_init.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090021obj-$(CONFIG_PCI_INDIRECT_BRIDGE) += pci_indirect.o
22obj-$(CONFIG_PCI_GT64120) += pci_gt64120.o
Heiko Schocherb61cbbd2019-10-14 11:29:39 +020023obj-$(CONFIG_PCI_MPC85XX) += pci_mpc85xx.o
Paul Burtonbaf37f02013-11-08 11:18:50 +000024obj-$(CONFIG_PCI_MSC01) += pci_msc01.o
Marek Vasute9be4292013-12-14 05:55:28 +010025obj-$(CONFIG_PCIE_IMX) += pcie_imx.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090026obj-$(CONFIG_FTPCI100) += pci_ftpci100.o
Anton Schubert9c28d612015-08-11 11:54:01 +020027obj-$(CONFIG_PCI_MVEBU) += pci_mvebu.o
Marek Vasut5f14f7d2018-01-18 14:35:35 +010028obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
Marek Vasut776abed2018-10-16 12:49:19 +020029obj-$(CONFIG_PCI_RCAR_GEN3) += pci-rcar-gen3.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090030obj-$(CONFIG_SH4_PCI) += pci_sh4.o
31obj-$(CONFIG_SH7751_PCI) +=pci_sh7751.o
32obj-$(CONFIG_SH7780_PCI) +=pci_sh7780.o
Thierry Redingf3158282014-12-09 22:25:12 -070033obj-$(CONFIG_PCI_TEGRA) += pci_tegra.o
Srinath Mannam48487042020-05-12 13:29:50 +053034obj-$(CONFIG_PCIE_IPROC) += pcie_iproc.o
Wilson Dinge51f2b12018-03-26 15:57:29 +080035obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
Shadi Ammouri182ba1a2016-10-27 13:29:41 +020036obj-$(CONFIG_PCIE_DW_MVEBU) += pcie_dw_mvebu.o
Hou Zhiqiangb89e3d92019-04-24 22:33:02 +080037obj-$(CONFIG_PCIE_FSL) += pcie_fsl.o pcie_fsl_fixup.o
Hou Zhiqianged188aa2020-07-09 23:31:42 +080038obj-$(CONFIG_PCIE_LAYERSCAPE) += pcie_layerscape.o
39obj-$(CONFIG_PCIE_LAYERSCAPE_RC) += pcie_layerscape_rc.o \
40 pcie_layerscape_fixup.o \
41 pcie_layerscape_fixup_common.o
42obj-$(CONFIG_PCIE_LAYERSCAPE_EP) += pcie_layerscape_ep.o
Hou Zhiqiang1d341bc2019-04-08 10:15:54 +000043obj-$(CONFIG_PCIE_LAYERSCAPE_GEN4) += pcie_layerscape_gen4.o \
Wasim Khan1185b222020-01-06 12:05:57 +000044 pcie_layerscape_gen4_fixup.o \
45 pcie_layerscape_fixup_common.o
Paul Burtona29e45a2016-09-08 07:47:31 +010046obj-$(CONFIG_PCI_XILINX) += pcie_xilinx.o
liu haoe3aafef2019-10-31 07:51:08 +000047obj-$(CONFIG_PCI_PHYTIUM) += pcie_phytium.o
Ley Foon Tan7c458622018-04-20 21:55:45 +080048obj-$(CONFIG_PCIE_INTEL_FPGA) += pcie_intel_fpga.o
Neil Armstrongdfadb942021-03-25 15:49:18 +010049obj-$(CONFIG_PCIE_DW_COMMON) += pcie_dw_common.o
Sekhar Nori03c396b2019-08-01 19:12:57 +053050obj-$(CONFIG_PCI_KEYSTONE) += pcie_dw_ti.o
Ryder Lee42d37452019-08-22 12:26:49 +020051obj-$(CONFIG_PCIE_MEDIATEK) += pcie_mediatek.o
Jagan Tekiad415c82020-07-09 23:41:03 +053052obj-$(CONFIG_PCIE_ROCKCHIP) += pcie_rockchip.o
Shawn Lin9ddc0782021-01-15 18:01:22 +080053obj-$(CONFIG_PCIE_DW_ROCKCHIP) += pcie_dw_rockchip.o
Neil Armstrong2c32c702021-03-25 15:49:21 +010054obj-$(CONFIG_PCIE_DW_MESON) += pcie_dw_meson.o
Sylwester Nawrocki7b1c3f62020-05-25 13:39:58 +020055obj-$(CONFIG_PCI_BRCMSTB) += pcie_brcmstb.o
Suneel Garapati638d7052019-10-19 17:28:01 -070056obj-$(CONFIG_PCI_OCTEONTX) += pci_octeontx.o
Stefan Roeseddafdb92021-04-07 08:43:35 +020057obj-$(CONFIG_PCIE_OCTEON) += pcie_octeon.o
Green Wan416395c2021-05-27 06:52:10 -070058obj-$(CONFIG_PCIE_DW_SIFIVE) += pcie_dw_sifive.o