Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Jean-Christophe PLAGNIOL-VILLARD | 93a686e | 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 | 93a686e | 2007-11-20 20:28:09 +0100 | [diff] [blame] | 5 | |
Simon Glass | ff3e077 | 2015-03-05 12:25:25 -0700 | [diff] [blame] | 6 | ifneq ($(CONFIG_DM_PCI),) |
Simon Glass | 3f4e1e8 | 2015-11-29 13:17:57 -0700 | [diff] [blame] | 7 | obj-y += pci_rom.o |
Simon Glass | 5e23b8b | 2015-11-29 13:17:49 -0700 | [diff] [blame] | 8 | obj-$(CONFIG_PCI) += pci-uclass.o pci_auto.o |
Simon Glass | 3ba5f74 | 2015-11-26 19:51:30 -0700 | [diff] [blame] | 9 | obj-$(CONFIG_DM_PCI_COMPAT) += pci_compat.o |
Simon Glass | 537849a | 2015-03-05 12:25:27 -0700 | [diff] [blame] | 10 | obj-$(CONFIG_PCI_SANDBOX) += pci_sandbox.o |
Simon Glass | 36d0d3b | 2015-03-05 12:25:28 -0700 | [diff] [blame] | 11 | obj-$(CONFIG_SANDBOX) += pci-emul-uclass.o |
Simon Glass | a219dae | 2015-03-05 12:25:31 -0700 | [diff] [blame] | 12 | obj-$(CONFIG_X86) += pci_x86.o |
Simon Glass | ff3e077 | 2015-03-05 12:25:25 -0700 | [diff] [blame] | 13 | else |
Simon Glass | 5e23b8b | 2015-11-29 13:17:49 -0700 | [diff] [blame] | 14 | obj-$(CONFIG_PCI) += pci.o pci_auto_old.o |
Simon Glass | ff3e077 | 2015-03-05 12:25:25 -0700 | [diff] [blame] | 15 | endif |
Simon Glass | 3f4e1e8 | 2015-11-29 13:17:57 -0700 | [diff] [blame] | 16 | obj-$(CONFIG_PCI) += pci_auto_common.o pci_common.o |
Simon Glass | ff3e077 | 2015-03-05 12:25:25 -0700 | [diff] [blame] | 17 | |
Tuomas Tynkkynen | 3675cb0 | 2017-09-19 23:18:06 +0300 | [diff] [blame] | 18 | obj-$(CONFIG_PCIE_ECAM_GENERIC) += pcie_ecam_generic.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_FSL_PCI_INIT) += fsl_pci_init.o |
Masahiro Yamada | 710f1d3 | 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 | baf37f0 | 2013-11-08 11:18:50 +0000 | [diff] [blame] | 22 | obj-$(CONFIG_PCI_MSC01) += pci_msc01.o |
Marek Vasut | e9be429 | 2013-12-14 05:55:28 +0100 | [diff] [blame] | 23 | obj-$(CONFIG_PCIE_IMX) += pcie_imx.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_FTPCI100) += pci_ftpci100.o |
Anton Schubert | 9c28d61 | 2015-08-11 11:54:01 +0200 | [diff] [blame] | 25 | obj-$(CONFIG_PCI_MVEBU) += pci_mvebu.o |
Marek Vasut | 5f14f7d | 2018-01-18 14:35:35 +0100 | [diff] [blame] | 26 | obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o |
Marek Vasut | 776abed | 2018-10-16 12:49:19 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_PCI_RCAR_GEN3) += pci-rcar-gen3.o |
Masahiro Yamada | 710f1d3 | 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 | f315828 | 2014-12-09 22:25:12 -0700 | [diff] [blame] | 31 | obj-$(CONFIG_PCI_TEGRA) += pci_tegra.o |
Wilson Ding | e51f2b1 | 2018-03-26 15:57:29 +0800 | [diff] [blame] | 32 | obj-$(CONFIG_PCI_AARDVARK) += pci-aardvark.o |
Shadi Ammouri | 182ba1a | 2016-10-27 13:29:41 +0200 | [diff] [blame] | 33 | obj-$(CONFIG_PCIE_DW_MVEBU) += pcie_dw_mvebu.o |
Hou Zhiqiang | b89e3d9 | 2019-04-24 22:33:02 +0800 | [diff] [blame] | 34 | obj-$(CONFIG_PCIE_FSL) += pcie_fsl.o pcie_fsl_fixup.o |
Minghuan Lian | da41902 | 2014-10-31 13:43:44 +0800 | [diff] [blame] | 35 | obj-$(CONFIG_PCIE_LAYERSCAPE) += pcie_layerscape.o |
Hou Zhiqiang | a7294ab | 2016-12-13 14:54:16 +0800 | [diff] [blame] | 36 | obj-$(CONFIG_PCIE_LAYERSCAPE) += pcie_layerscape_fixup.o |
Hou Zhiqiang | 1d341bc | 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 | a29e45a | 2016-09-08 07:47:31 +0100 | [diff] [blame] | 39 | obj-$(CONFIG_PCI_XILINX) += pcie_xilinx.o |
Ley Foon Tan | 7c45862 | 2018-04-20 21:55:45 +0800 | [diff] [blame] | 40 | obj-$(CONFIG_PCIE_INTEL_FPGA) += pcie_intel_fpga.o |