From 14382453349f0ca1c11870ed10f8e7fd839851cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 13 Jul 2017 14:11:52 +0300 Subject: AMD K8 fam10-15: Tidy up CAR stack switch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return to empty stack before making the switch. Change-Id: I6d6f633933fac5bc08d9542c371715f737fb42cf Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/20574 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Tested-by: Raptor Engineering Automated Test Stand --- src/include/cpu/amd/car.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/include/cpu/amd') diff --git a/src/include/cpu/amd/car.h b/src/include/cpu/amd/car.h index c4d92d93d0..288edb28c2 100644 --- a/src/include/cpu/amd/car.h +++ b/src/include/cpu/amd/car.h @@ -4,10 +4,8 @@ #include void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx); -void post_cache_as_ram(void); - -void cache_as_ram_switch_stack(void *stacktop); -void cache_as_ram_new_stack(void); +asmlinkage void * post_cache_as_ram(void); +asmlinkage void cache_as_ram_new_stack(void); void disable_cache_as_ram(void); -- cgit v1.2.3