From 1daee069cda9df463526a0a71d68d14e331244a8 Mon Sep 17 00:00:00 2001 From: Thaminda Edirisooriya Date: Thu, 9 Jul 2015 13:53:34 -0700 Subject: [PATCH] riscv-emulation: Set stack size to 0 in Kconfig Build now decides the stack size by correctly referencing the value in /src/mainboard/emulation/qemu-riscv/memlayout.ld. Note that while the size is correct, the placement is still wrong, and causes the stack to be corrupted by the coreboot tables. Still needs to be addressed Change-Id: I86c08bd53eeb64e672fecba21e06220694a4c3dd Signed-off-by: Thaminda Edirisooriya Reviewed-on: http://review.coreboot.org/10870 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kconfig b/src/Kconfig index 9c0d1cfbcd..8078a76d6e 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -425,7 +425,7 @@ config HEAP_SIZE config STACK_SIZE hex - default 0x0 if (ARCH_RAMSTAGE_ARM || ARCH_RAMSTAGE_MIPS) + default 0x0 if (ARCH_RAMSTAGE_ARM || ARCH_RAMSTAGE_MIPS || ARCH_RAMSTAGE_RISCV) default 0x1000 config MAX_CPUS