summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/pi/Makefile.inc
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2021-09-23 17:16:32 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-09-24 15:47:59 +0000
commitc9737c5ce9d5a3c52ae86ea5fe538bec0b305b99 (patch)
treeb2c0ef3904b50b29add494f5f75b105bb8e2ead5 /src/soc/amd/common/pi/Makefile.inc
parentc0982abf86a6312e2572cc0225bbfe702c7ff2bd (diff)
soc/amd/common: move block/pi out of the block folder
Since the binaryPI glue code is specific to a binary interface, but not for a hardware block, move it out of the common blocks directory. This also brings the binaryPI support in line with the FSP support which is used on the newer generations. This also drops the SOC_AMD_COMMON_BLOCK_PI Kconfig option and makes use of the already existing SOC_AMD_PI Kconfig option instead. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I014e538f2772938031950475e456cc40dd05d74c Reviewed-on: https://review.coreboot.org/c/coreboot/+/57884 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/common/pi/Makefile.inc')
-rw-r--r--src/soc/amd/common/pi/Makefile.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/soc/amd/common/pi/Makefile.inc b/src/soc/amd/common/pi/Makefile.inc
new file mode 100644
index 0000000000..55fbd95cc8
--- /dev/null
+++ b/src/soc/amd/common/pi/Makefile.inc
@@ -0,0 +1,19 @@
+ifeq ($(CONFIG_SOC_AMD_PI),y)
+
+romstage-y += agesawrapper.c
+romstage-y += def_callouts.c
+romstage-y += heapmanager.c
+romstage-y += image.c
+romstage-y += refcode_loader.c
+romstage-y += s3_resume.c
+
+ramstage-y += agesawrapper.c
+ramstage-y += amd_late_init.c
+ramstage-$(CONFIG_HAVE_ACPI_RESUME) += amd_resume_final.c
+ramstage-y += def_callouts.c
+ramstage-y += heapmanager.c
+ramstage-y += image.c
+ramstage-y += refcode_loader.c
+ramstage-y += s3_resume.c
+
+endif # CONFIG_SOC_AMD_PI