From ba22e159bb21549ba92eb6e9d91eaa097a54985b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 23 Nov 2016 06:47:15 +0200 Subject: AGESA: Disable CAR with empty stack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Calling disable_cache_as_ram() with valuables in stack is not a stable solution, as per documentation AMD_DISABLE_STACK should destroy stack in cache. Change-Id: I986bb7a88f53f7f7a0b05d4edcd5020f5dbeb4b7 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/18626 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/include/cpu/amd/car.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/cpu/amd') diff --git a/src/include/cpu/amd/car.h b/src/include/cpu/amd/car.h index 11fb8ae07b..df035137dc 100644 --- a/src/include/cpu/amd/car.h +++ b/src/include/cpu/amd/car.h @@ -19,5 +19,6 @@ void disable_cache_as_ram(void); void asmlinkage early_all_cores(void); void * asmlinkage romstage_main(unsigned long bist); +void asmlinkage romstage_after_car(void); #endif -- cgit v1.2.3