summaryrefslogtreecommitdiff
path: root/src/cpu/amd/agesa/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd/agesa/Makefile.inc')
-rw-r--r--src/cpu/amd/agesa/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/amd/agesa/Makefile.inc b/src/cpu/amd/agesa/Makefile.inc
index 60bae120bc..9853d63c5f 100644
--- a/src/cpu/amd/agesa/Makefile.inc
+++ b/src/cpu/amd/agesa/Makefile.inc
@@ -23,7 +23,11 @@ subdirs-$(CONFIG_CPU_AMD_AGESA_FAMILY16_KB) += family16kb
romstage-y += s3_resume.c
ramstage-y += s3_mtrr.c
+ifeq ($(CONFIG_AGESA_LEGACY), y)
+cpu_incs-y += $(src)/cpu/amd/agesa/cache_as_ram_legacy.inc
+else
cpu_incs-y += $(src)/cpu/amd/agesa/cache_as_ram.inc
+endif
romstage-y += heapmanager.c
ramstage-y += heapmanager.c