blob: f8be9bf1ea5393b7421408a6d8c1dcb93f565b3b [file] [log] [blame]
Jean-Christophe PLAGNIOL-VILLARD93a686e2007-11-20 20:28:09 +01001#
2# (C) Copyright 2000-2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Jean-Christophe PLAGNIOL-VILLARD93a686e2007-11-20 20:28:09 +01006#
7
Simon Glassff3e0772015-03-05 12:25:25 -07008ifneq ($(CONFIG_DM_PCI),)
Simon Glass3f4e1e82015-11-29 13:17:57 -07009obj-y += pci_rom.o
Simon Glass5e23b8b2015-11-29 13:17:49 -070010obj-$(CONFIG_PCI) += pci-uclass.o pci_auto.o
Simon Glass3ba5f742015-11-26 19:51:30 -070011obj-$(CONFIG_DM_PCI_COMPAT) += pci_compat.o
Simon Glass537849a2015-03-05 12:25:27 -070012obj-$(CONFIG_PCI_SANDBOX) += pci_sandbox.o
Simon Glass36d0d3b2015-03-05 12:25:28 -070013obj-$(CONFIG_SANDBOX) += pci-emul-uclass.o
Simon Glassa219dae2015-03-05 12:25:31 -070014obj-$(CONFIG_X86) += pci_x86.o
Simon Glassff3e0772015-03-05 12:25:25 -070015else
Simon Glass5e23b8b2015-11-29 13:17:49 -070016obj-$(CONFIG_PCI) += pci.o pci_auto_old.o
Simon Glassff3e0772015-03-05 12:25:25 -070017endif
Simon Glass3f4e1e82015-11-29 13:17:57 -070018obj-$(CONFIG_PCI) += pci_auto_common.o pci_common.o
Simon Glassff3e0772015-03-05 12:25:25 -070019
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
Paul Burtonbaf37f02013-11-08 11:18:50 +000023obj-$(CONFIG_PCI_MSC01) += pci_msc01.o
Marek Vasute9be4292013-12-14 05:55:28 +010024obj-$(CONFIG_PCIE_IMX) += pcie_imx.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090025obj-$(CONFIG_FTPCI100) += pci_ftpci100.o
Anton Schubert9c28d612015-08-11 11:54:01 +020026obj-$(CONFIG_PCI_MVEBU) += pci_mvebu.o
Masahiro Yamada710f1d32013-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 Redingf3158282014-12-09 22:25:12 -070030obj-$(CONFIG_PCI_TEGRA) += pci_tegra.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090031obj-$(CONFIG_TSI108_PCI) += tsi108_pci.o
32obj-$(CONFIG_WINBOND_83C553) += w83c553f.o
Minghuan Lianda419022014-10-31 13:43:44 +080033obj-$(CONFIG_PCIE_LAYERSCAPE) += pcie_layerscape.o