summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-23 23:28:44 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-05-25 12:48:37 +0000
commit3951bc7becc3f383928abf528b991272cb9d008c (patch)
treecc0b31f07a1519f6254b81bb7a3fca9aed6597a1
parentdd7ec09155c8aaa527d070309a8439bff87d2985 (diff)
Kconfig: Increase x86 postcar & ramstage stack
Currently the BSP stack overflows into the next AP stack. This symbols needs to be a power of 2 for alignment on the legacy smp init codepath. This fixes cpu_info on AP #1 build being broken due to stack overflow. Change-Id: Ib59d354beabc8877f09f768004ced22234ec7d72 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64610 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@tutanota.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
-rw-r--r--src/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig
index ccfe5d25be..c58a263b25 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -635,7 +635,7 @@ config HEAP_SIZE
config STACK_SIZE
hex
- default 0x1000 if ARCH_X86
+ default 0x2000 if ARCH_X86
default 0x0
config MAX_CPUS