[coreboot-gerrit] Patch set updated for coreboot: riscv-emulation: Set stack size to 0 in Kconfig

Thaminda Edirisooriya (thaminda@google.com) gerrit at coreboot.org
Fri Jul 10 00:09:00 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 1c2c4ae971c587636a0108180d9896fa2691ed41
Author: Thaminda Edirisooriya <thaminda at google.com>
Date:   Thu Jul 9 13:53:34 2015 -0700

    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 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