1 ## SPDX-License-Identifier: GPL-2.0-only
2 ifeq ($(CONFIG_SOC_AMD_PI
),y
)
4 romstage-y
+= agesawrapper.c
5 romstage-y
+= def_callouts.c
6 romstage-y
+= heapmanager.c
8 romstage-y
+= refcode_loader.c
9 romstage-y
+= s3_resume.c
11 ramstage-y
+= agesawrapper.c
12 ramstage-y
+= amd_late_init.c
13 ramstage-
$(CONFIG_HAVE_ACPI_RESUME
) += amd_resume_final.c
14 ramstage-y
+= def_callouts.c
15 ramstage-y
+= heapmanager.c
17 ramstage-y
+= refcode_loader.c
18 ramstage-y
+= s3_resume.c
20 CFLAGS_x86_32
+= -Wno-pragma-pack
21 CFLAGS_x86_64
+= -Wno-pragma-pack
23 endif # CONFIG_SOC_AMD_PI