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>
This commit is contained in:
parent
977587abf8
commit
1daee069cd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue