Martin Roth | 9231f0b | 2022-10-28 22:39:23 -0600 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Raul E Rangel | 7502e10 | 2021-05-07 14:25:09 -0600 | [diff] [blame] | 2 | ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PCI),y) |
| 3 | |
| 4 | ramstage-y += amd_pci_util.c |
| 5 | ramstage-y += pci_routing_info.c |
| 6 | ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi_prt.c |
Raul E Rangel | e4f8317 | 2021-05-10 14:49:55 -0600 | [diff] [blame] | 7 | 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] | 8 | |
| 9 | endif # CONFIG_SOC_AMD_COMMON_BLOCK_PCI |
Richard Spiegel | 2bbc3dc | 2017-12-06 16:14:58 -0700 | [diff] [blame] | 10 | |
Felix Held | 21cdf0d | 2020-11-23 16:24:29 +0100 | [diff] [blame] | 11 | ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PCI_MMCONF),y) |
| 12 | |
Felix Held | f008e0a | 2023-04-01 01:31:24 +0200 | [diff] [blame] | 13 | all_x86-y += amd_pci_mmconf.c |
Felix Held | 21cdf0d | 2020-11-23 16:24:29 +0100 | [diff] [blame] | 14 | |
| 15 | endif # CONFIG_SOC_AMD_COMMON_BLOCK_PCI_MMCONF |