From c9737c5ce9d5a3c52ae86ea5fe538bec0b305b99 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 23 Sep 2021 17:16:32 +0200 Subject: 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 Change-Id: I014e538f2772938031950475e456cc40dd05d74c Reviewed-on: https://review.coreboot.org/c/coreboot/+/57884 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/soc/amd/common/pi/Makefile.inc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/soc/amd/common/pi/Makefile.inc (limited to 'src/soc/amd/common/pi/Makefile.inc') 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 -- cgit v1.2.3