summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/pci/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/block/pci/Makefile.mk')
-rw-r--r--src/soc/amd/common/block/pci/Makefile.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/pci/Makefile.mk b/src/soc/amd/common/block/pci/Makefile.mk
new file mode 100644
index 0000000000..ece43cb67e
--- /dev/null
+++ b/src/soc/amd/common/block/pci/Makefile.mk
@@ -0,0 +1,15 @@
+## SPDX-License-Identifier: GPL-2.0-only
+ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PCI),y)
+
+ramstage-y += amd_pci_util.c
+ramstage-y += pci_routing_info.c
+ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi_prt.c
+ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_PCIE_GPP_DRIVER) += pcie_gpp.c
+
+endif # CONFIG_SOC_AMD_COMMON_BLOCK_PCI
+
+ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_PCI_MMCONF),y)
+
+all_x86-y += amd_pci_mmconf.c
+
+endif # CONFIG_SOC_AMD_COMMON_BLOCK_PCI_MMCONF