summaryrefslogtreecommitdiff
path: root/src/include/cpu
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2019-11-24 16:32:05 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-11-30 08:13:33 +0000
commit3aa17f76044f92dd772cd2833fa8f30031e17f35 (patch)
treeeb2c3d6fcdfb7dd67d0678c688fc904030f54015 /src/include/cpu
parent2fa1cb15de4b03155277ae96c389753690a5e517 (diff)
downloadcoreboot-3aa17f76044f92dd772cd2833fa8f30031e17f35.tar.xz
AGESA,binaryPI: Fix stack location on entry to romstage
For BSP CPU, set up stack location to match the symbol from car.ld. For AP CPUs the stack is located outside _car_region and is currently not accounted for in the linker scripts. Change-Id: I0ec84ae4e73ecca5034f799cdc2a5c1056ad8b74 Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37351 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/amd/car.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/cpu/amd/car.h b/src/include/cpu/amd/car.h
index 7e2fccd80f..f57ea82ad0 100644
--- a/src/include/cpu/amd/car.h
+++ b/src/include/cpu/amd/car.h
@@ -4,5 +4,6 @@
#include <arch/cpu.h>
asmlinkage void romstage_main(unsigned long bist);
+asmlinkage void ap_romstage_main(void);
#endif