summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-07-08 11:35:45 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2016-07-10 04:04:06 +0200
commit70cd54310b98f422b7d66a0e0932d53edec40bb7 (patch)
treee07c997b563e0782fe627a4d1ce3d115d7ac62b0 /src/cpu
parentb5664de76d2faf0cd1e611406e6d0e81be8351a5 (diff)
downloadcoreboot-70cd54310b98f422b7d66a0e0932d53edec40bb7.tar.xz
AMD k8 fam10: Drop excessive spinlock initialization
If CAR migration operations unintentionally set the lock, BSP would have got stuck on printk() calls above already. Change-Id: I35155ebcb00475a0964fc639ee74ad2755127740 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/15589 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/amd/car/post_cache_as_ram.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c
index b5faa77db2..9cf3c6e78f 100644
--- a/src/cpu/amd/car/post_cache_as_ram.c
+++ b/src/cpu/amd/car/post_cache_as_ram.c
@@ -94,13 +94,6 @@ static void prepare_ramstage_region(int s3resume)
memset_((void*)0, 0, CONFIG_RAMTOP - backup_top);
}
-#if IS_ENABLED(CONFIG_HAVE_ROMSTAGE_CONSOLE_SPINLOCK)
- initialize_romstage_console_lock();
-#endif
-#if IS_ENABLED(CONFIG_HAVE_ROMSTAGE_NVRAM_CBFS_SPINLOCK)
- initialize_romstage_nvram_cbfs_lock();
-#endif
-
print_car_debug(" Done\n");
}