Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Jean-Christophe PLAGNIOL-VILLARD | 67572cf | 2007-11-20 20:28:09 +0100 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2000-2007 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Jean-Christophe PLAGNIOL-VILLARD | 67572cf | 2007-11-20 20:28:09 +0100 | [diff] [blame] | 5 | |
Simon Glass | b94dc89 | 2015-03-05 12:25:25 -0700 | [diff] [blame] | 6 | ifneq ($(CONFIG_DM_PCI),) |
Simon Glass | f9d94d3 | 2015-11-29 13:17:57 -0700 | [diff] [blame] | 7 | obj-y += pci_rom.o |
Simon Glass | 37a3f94b | 2015-11-29 13:17:49 -0700 | [diff] [blame] | 8 | obj-$(CONFIG_PCI) += pci-uclass.o pci_auto.o |
Simon Glass | eca7b0d | 2015-11-26 19:51:30 -0700 | [diff] [blame] | 9 | obj-$(CONFIG_DM_PCI_COMPAT) += pci_compat.o |
Simon Glass | 4d85755 | 2015-03-05 12:25:27 -0700 | [diff] [blame] | 10 | obj-$(CONFIG_PCI_SANDBOX) += pci_sandbox.o |
Simon Glass | d9e90bb | 2015-03-05 12:25:28 -0700 | [diff] [blame] | 11 | obj-$(CONFIG_SANDBOX) += pci-emul-uclass.o |
Simon Glass | 4e03781 | 2015-03-05 12:25:31 -0700 | [diff] [blame] | 12 | obj-$(CONFIG_X86) += pci_x86.o |
Simon Glass | b94dc89 | 2015-03-05 12:25:25 -0700 | [diff] [blame] | 13 | else |
Simon Glass | 37a3f94b | 2015-11-29 13:17:49 -0700 | [diff] [blame] | 14 | obj-$(CONFIG_PCI) += pci.o pci_auto_old.o |
Simon Glass | b94dc89 | 2015-03-05 12:25:25 -0700 | [diff] [blame] | 15 | endif |
Simon Glass | f9d94d3 | 2015-11-29 13:17:57 -0700 | [diff] [blame] | 16 | obj-$(CONFIG_PCI) += pci_auto_common.o pci_common.o |
Simon Glass | b94dc89 | 2015-03-05 12:25:25 -0700 | [diff] [blame] | 17 | |
Tuomas Tynkkynen | a765f71 | 2017-09-19 23:18:06 +0300 | [diff] [blame] | 18 | obj-$(CONFIG_PCIE_ECAM_GENERIC) += pcie_ecam_generic.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_FSL_PCI_INIT) += fsl_pci_init.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 20 | obj-$(CONFIG_PCI_INDIRECT_BRIDGE) += pci_indirect.o |
| 21 | obj-$(CONFIG_PCI_GT64120) += pci_gt64120.o |
Paul Burton | 234882c | 2013-11-08 11:18:50 +0000 | [diff] [blame] | 22 | obj-$(CONFIG_PCI_MSC01) += pci_msc01.o |
Marek Vasut | 988ee70 | 2013-12-14 05:55:28 +0100 | [diff] [blame] | 23 | obj-$(CONFIG_PCIE_IMX) += pcie_imx.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_FTPCI100) += pci_ftpci100.o |
Anton Schubert | 98530e9 | 2015-08-11 11:54:01 +0200 | [diff] [blame] | 25 | obj-$(CONFIG_PCI_MVEBU) += pci_mvebu.o |
Marek Vasut | 5012d1e | 2018-01-18 14:35:35 +0100 | [diff] [blame] | 26 | obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o |
Marek Vasut | 879b4a3 | 2018-10-16 12:49:19 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_PCI_RCAR_GEN3) += pci-rcar-gen3.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 28 | obj-$(CONFIG_SH4_PCI) += pci_sh4.o |
| 29 | obj-$(CONFIG_SH7751_PCI) +=pci_sh7751.o |
| 30 | obj-$(CONFIG_SH7780_PCI) +=pci_sh7780.o |
Thierry Reding | 412c758 | 2014-12-09 22:25:12 -0700 | [diff] [blame] | 31 | obj-$(CONFIG_PCI_TEGRA) += pci_tegra.o |
Wilson Ding | a6bdc86 | 2018-03-26 15:57:29 +0800 | [diff] [blame] | 32 | obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o |
Shadi Ammouri | 3b38645 | 2016-10-27 13:29:41 +0200 | [diff] [blame] | 33 | obj-$(CONFIG_PCIE_DW_MVEBU) += pcie_dw_mvebu.o |
Hou Zhiqiang | 25ff98c | 2019-04-24 22:33:02 +0800 | [diff] [blame] | 34 | obj-$(CONFIG_PCIE_FSL) += pcie_fsl.o pcie_fsl_fixup.o |
Minghuan Lian | a4d6b61 | 2014-10-31 13:43:44 +0800 | [diff] [blame] | 35 | obj-$(CONFIG_PCIE_LAYERSCAPE) += pcie_layerscape.o |
Hou Zhiqiang | 09716a7b | 2016-12-13 14:54:16 +0800 | [diff] [blame] | 36 | obj-$(CONFIG_PCIE_LAYERSCAPE) += pcie_layerscape_fixup.o |
Hou Zhiqiang | 5a9a5ed | 2019-04-08 10:15:54 +0000 | [diff] [blame] | 37 | obj-$(CONFIG_PCIE_LAYERSCAPE_GEN4) += pcie_layerscape_gen4.o \ |
| 38 | pcie_layerscape_gen4_fixup.o |
Paul Burton | c893f21 | 2016-09-08 07:47:31 +0100 | [diff] [blame] | 39 | obj-$(CONFIG_PCI_XILINX) += pcie_xilinx.o |
Ley Foon Tan | dc05e63 | 2018-04-20 21:55:45 +0800 | [diff] [blame] | 40 | obj-$(CONFIG_PCIE_INTEL_FPGA) += pcie_intel_fpga.o |