Raul E Rangel | 7502e10 | 2021-05-07 14:25:09 -0600 | [diff] [blame] | 1 | ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PCI),y) |
| 2 | |
| 3 | ramstage-y += amd_pci_util.c |
| 4 | ramstage-y += pci_routing_info.c |
| 5 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi_prt.c |
Raul E Rangel | e4f8317 | 2021-05-10 14:49:55 -0600 | [diff] [blame] | 6 | ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_PCIE_GPP_DRIVER) += pcie_gpp.c |
Raul E Rangel | 7502e10 | 2021-05-07 14:25:09 -0600 | [diff] [blame] | 7 | |
| 8 | endif # CONFIG_SOC_AMD_COMMON_BLOCK_PCI |
Richard Spiegel | 2bbc3dc | 2017-12-06 16:14:58 -0700 | [diff] [blame] | 9 | |
Felix Held | 21cdf0d | 2020-11-23 16:24:29 +0100 | [diff] [blame] | 10 | ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PCI_MMCONF),y) |
| 11 | |
Martin Roth | cfc170b | 2020-06-03 19:24:11 -0600 | [diff] [blame] | 12 | bootblock-y += amd_pci_mmconf.c |
| 13 | verstage_x86-y += amd_pci_mmconf.c |
| 14 | romstage-y += amd_pci_mmconf.c |
| 15 | postcar-y += amd_pci_mmconf.c |
| 16 | ramstage-y += amd_pci_mmconf.c |
Felix Held | 21cdf0d | 2020-11-23 16:24:29 +0100 | [diff] [blame] | 17 | |
| 18 | endif # CONFIG_SOC_AMD_COMMON_BLOCK_PCI_MMCONF |