blob: 7f585aad550852050d8c117266572515bf984b14 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Jean-Christophe PLAGNIOL-VILLARD67572cf2007-11-20 20:28:09 +01002#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Jean-Christophe PLAGNIOL-VILLARD67572cf2007-11-20 20:28:09 +01005
Simon Glassb94dc892015-03-05 12:25:25 -07006ifneq ($(CONFIG_DM_PCI),)
Simon Glassf9d94d32015-11-29 13:17:57 -07007obj-y += pci_rom.o
Simon Glass37a3f94b2015-11-29 13:17:49 -07008obj-$(CONFIG_PCI) += pci-uclass.o pci_auto.o
Simon Glasseca7b0d2015-11-26 19:51:30 -07009obj-$(CONFIG_DM_PCI_COMPAT) += pci_compat.o
Simon Glass4d857552015-03-05 12:25:27 -070010obj-$(CONFIG_PCI_SANDBOX) += pci_sandbox.o
Simon Glassd9e90bb2015-03-05 12:25:28 -070011obj-$(CONFIG_SANDBOX) += pci-emul-uclass.o
Simon Glass4e037812015-03-05 12:25:31 -070012obj-$(CONFIG_X86) += pci_x86.o
Simon Glassb94dc892015-03-05 12:25:25 -070013else
Simon Glass37a3f94b2015-11-29 13:17:49 -070014obj-$(CONFIG_PCI) += pci.o pci_auto_old.o
Simon Glassb94dc892015-03-05 12:25:25 -070015endif
Simon Glassf9d94d32015-11-29 13:17:57 -070016obj-$(CONFIG_PCI) += pci_auto_common.o pci_common.o
Simon Glassb94dc892015-03-05 12:25:25 -070017
Tuomas Tynkkynena765f712017-09-19 23:18:06 +030018obj-$(CONFIG_PCIE_ECAM_GENERIC) += pcie_ecam_generic.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090019obj-$(CONFIG_FSL_PCI_INIT) += fsl_pci_init.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090020obj-$(CONFIG_PCI_INDIRECT_BRIDGE) += pci_indirect.o
21obj-$(CONFIG_PCI_GT64120) += pci_gt64120.o
Paul Burton234882c2013-11-08 11:18:50 +000022obj-$(CONFIG_PCI_MSC01) += pci_msc01.o
Marek Vasut988ee702013-12-14 05:55:28 +010023obj-$(CONFIG_PCIE_IMX) += pcie_imx.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090024obj-$(CONFIG_FTPCI100) += pci_ftpci100.o
Anton Schubert98530e92015-08-11 11:54:01 +020025obj-$(CONFIG_PCI_MVEBU) += pci_mvebu.o
Marek Vasut5012d1e2018-01-18 14:35:35 +010026obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090027obj-$(CONFIG_SH4_PCI) += pci_sh4.o
28obj-$(CONFIG_SH7751_PCI) +=pci_sh7751.o
29obj-$(CONFIG_SH7780_PCI) +=pci_sh7780.o
Thierry Reding412c7582014-12-09 22:25:12 -070030obj-$(CONFIG_PCI_TEGRA) += pci_tegra.o
Wilson Dinga6bdc862018-03-26 15:57:29 +080031obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o
Shadi Ammouri3b386452016-10-27 13:29:41 +020032obj-$(CONFIG_PCIE_DW_MVEBU) += pcie_dw_mvebu.o
Minghuan Liana4d6b612014-10-31 13:43:44 +080033obj-$(CONFIG_PCIE_LAYERSCAPE) += pcie_layerscape.o
Hou Zhiqiang09716a7b2016-12-13 14:54:16 +080034obj-$(CONFIG_PCIE_LAYERSCAPE) += pcie_layerscape_fixup.o
Hou Zhiqiange5d79c42019-04-08 10:15:46 +000035obj-$(CONFIG_PCIE_LAYERSCAPE_GEN4) += pcie_layerscape_gen4.o
Paul Burtonc893f212016-09-08 07:47:31 +010036obj-$(CONFIG_PCI_XILINX) += pcie_xilinx.o
Ley Foon Tandc05e632018-04-20 21:55:45 +080037obj-$(CONFIG_PCIE_INTEL_FPGA) += pcie_intel_fpga.o