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/northbridge/amd/agesa/state_machine.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/northbridge/amd/agesa/state_machine.h') diff --git a/src/northbridge/amd/agesa/state_machine.h b/src/northbridge/amd/agesa/state_machine.h index 3c78edb013..e55c152b20 100644 --- a/src/northbridge/amd/agesa/state_machine.h +++ b/src/northbridge/amd/agesa/state_machine.h @@ -23,9 +23,10 @@ struct sysinfo int s3resume; }; -void board_BeforeAgesa(struct sysinfo *cb); +void agesa_main(struct sysinfo *cb); +void agesa_postcar(struct sysinfo *cb); +void board_BeforeAgesa(struct sysinfo *cb); void platform_once(struct sysinfo *cb); -void agesa_main(struct sysinfo *cb); #endif /* _STATE_MACHINE_H_ */ -- cgit v1.2.3