Marc Karasek uploaded patch set #5 to this change.
BUG#254 : Fixed configuration for DDR Size discovered by coreboot
For qemu-riscv value was incorrect. It was set to 32768 which
in turn was being used as 32768MB (32+GB), instead of the 32MB
it was intended to represent.
Change value so it is a select option based in menuconfig
based on what you want coreboot to "discover" on boot.
Four options are :
256MB
512MB
1024MB
2048MB
NOTE: You must specify greater than or equal to what is
chosen from the above items on the qemu cmdline.
This value is used in both romstage and ramstage to set the amount
of DDR present. This will be the above value minus the size of the
boot rom.
Signed-off-by: Marc Karasek <mkarasek@cryptocoretech.com>
Change-Id: Idef44eb8baf3e89d7c74fa452fc60b7beefa2c48
---
M src/mainboard/emulation/qemu-riscv/Kconfig
M src/mainboard/emulation/qemu-riscv/mainboard.c
M src/soc/ucb/riscv/cbmem.c
3 files changed, 37 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/38904/5
To view, visit change 38904. To unsubscribe, or for help writing mail filters, visit settings.