summaryrefslogtreecommitdiff
path: root/src/cpu/amd/car
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/cpu/amd/car
parent56dd2d26b59c582ffb40154cbcf759a0ff30cfd6 (diff)
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/cpu/amd/car')
-rw-r--r--src/cpu/amd/car/post_cache_as_ram.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c
index ad93883def..2fb46d286a 100644
--- a/src/cpu/amd/car/post_cache_as_ram.c
+++ b/src/cpu/amd/car/post_cache_as_ram.c
@@ -136,17 +136,7 @@ asmlinkage void * post_cache_as_ram(void)
if ((*lower_stack_boundary) != 0xdeadbeef)
printk(BIOS_WARNING, "BSP overran lower stack boundary. Undefined behaviour may result!\n");
- if (IS_ENABLED(CONFIG_EARLY_CBMEM_INIT)) {
- s3resume = acpi_is_wakeup_s3();
- } else {
- if (IS_ENABLED(CONFIG_HAVE_ACPI_RESUME))
- s3resume = (acpi_get_sleep_type() == ACPI_S3);
- /* For normal boot path, boards with LATE_CBMEM_INIT will do
- * cbmem_initialize_empty() late in ramstage.
- */
- if (s3resume)
- cbmem_recovery(s3resume);
- }
+ s3resume = acpi_is_wakeup_s3();
prepare_romstage_ramstack(s3resume);