summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-03 06:53:30 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-04 12:48:22 +0000
commite0e1e648552212f6a3c1eb3e84125139fa61afbf (patch)
tree79e80a84cd673452f9e51bc4c0aa384ba027e880 /src/mainboard
parent56dd2d26b59c582ffb40154cbcf759a0ff30cfd6 (diff)
downloadcoreboot-e0e1e648552212f6a3c1eb3e84125139fa61afbf.tar.xz
amdfam10: Drop tests for LATE_CBMEM_INIT
Change-Id: Ibe16242d98531ff8e8a696f571496c6f46ea964b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26809 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/asus/kcma-d8/romstage.c2
-rw-r--r--src/mainboard/asus/kgpe-d16/romstage.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/mainboard/asus/kcma-d8/romstage.c b/src/mainboard/asus/kcma-d8/romstage.c
index a14f7e38d0..02dd671e8d 100644
--- a/src/mainboard/asus/kcma-d8/romstage.c
+++ b/src/mainboard/asus/kcma-d8/romstage.c
@@ -561,7 +561,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
execute_memory_test();
#endif
-#if !IS_ENABLED(CONFIG_LATE_CBMEM_INIT)
if (s3resume)
cbmem_initialize();
else
@@ -571,7 +570,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
romstage_handoff_init(s3resume);
amdmct_cbmem_store_info(sysinfo);
-#endif
printk(BIOS_DEBUG, "disable_spd()\n");
switch_spd_mux(0x1);
diff --git a/src/mainboard/asus/kgpe-d16/romstage.c b/src/mainboard/asus/kgpe-d16/romstage.c
index 9f3e7310fb..7f640cd2f7 100644
--- a/src/mainboard/asus/kgpe-d16/romstage.c
+++ b/src/mainboard/asus/kgpe-d16/romstage.c
@@ -602,7 +602,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
execute_memory_test();
#endif
-#if !IS_ENABLED(CONFIG_LATE_CBMEM_INIT)
if (s3resume)
cbmem_initialize();
else
@@ -613,7 +612,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
post_code(0x41);
amdmct_cbmem_store_info(sysinfo);
-#endif
printk(BIOS_DEBUG, "disable_spd()\n");
switch_spd_mux(0x1);