diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-07-13 14:11:52 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-08-22 20:25:15 +0000 |
commit | 14382453349f0ca1c11870ed10f8e7fd839851cc (patch) | |
tree | 15b11d650d02aa7d7195b53fbda460d7ec0d3905 /src/include/cpu/amd | |
parent | 90e07b460cffb4fbfee336a2b614cb8d08e4bfaa (diff) | |
download | coreboot-14382453349f0ca1c11870ed10f8e7fd839851cc.tar.xz |
AMD K8 fam10-15: Tidy up CAR stack switch
Return to empty stack before making the switch.
Change-Id: I6d6f633933fac5bc08d9542c371715f737fb42cf
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/20574
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Diffstat (limited to 'src/include/cpu/amd')
-rw-r--r-- | src/include/cpu/amd/car.h | 6 |
1 files changed, 2 insertions, 4 deletions
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 <arch/cpu.h> 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); |