summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThaminda Edirisooriya <thaminda@google.com>2015-07-09 13:53:34 -0700
committerRonald G. Minnich <rminnich@gmail.com>2015-07-14 16:56:25 +0200
commit1daee069cda9df463526a0a71d68d14e331244a8 (patch)
treeb88f6b9feb4792b66cca224051f02dfb20229e22
parent977587abf8b212dbf9297126b8dd31076c83d6b7 (diff)
downloadcoreboot-1daee069cda9df463526a0a71d68d14e331244a8.tar.xz
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 <thaminda@google.com> Reviewed-on: http://review.coreboot.org/10870 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r--src/Kconfig2
1 files changed, 1 insertions, 1 deletions
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