[coreboot-gerrit] New patch to review for coreboot: riscv-emulation: added Kconfig line to get correct stack size
Thaminda Edirisooriya (thaminda@google.com)
gerrit at coreboot.org
Thu Jul 9 23:05:09 CEST 2015
Thaminda Edirisooriya (thaminda at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10870
-gerrit
commit 99e3f867a70842af0191bd947d96251f60cc1390
Author: Thaminda Edirisooriya <thaminda at google.com>
Date: Thu Jul 9 13:53:34 2015 -0700
riscv-emulation: added Kconfig line to get correct stack size
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 at google.com>
---
src/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Kconfig b/src/Kconfig
index 9c0d1cf..8078a76 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
More information about the coreboot-gerrit
mailing list