Aaron Durbin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36448 )
Change subject: mainboard/emulation/qemu-riscv: add cbmem initialiation in romstage ......................................................................
mainboard/emulation/qemu-riscv: add cbmem initialiation in romstage
It is expected that cbmem is initialized in romstage. The qemu-riscv target did not perform that correctly. Fix this omission.
Change-Id: Id6f70369e4fa37bf30f42f746b4d51472aba3e3e Signed-off-by: Aaron Durbin adurbin@chromium.org --- M src/mainboard/emulation/qemu-riscv/romstage.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/48/36448/1
diff --git a/src/mainboard/emulation/qemu-riscv/romstage.c b/src/mainboard/emulation/qemu-riscv/romstage.c index 684b249..52c69f9 100644 --- a/src/mainboard/emulation/qemu-riscv/romstage.c +++ b/src/mainboard/emulation/qemu-riscv/romstage.c @@ -13,11 +13,13 @@ * GNU General Public License for more details. */
+#include <cbmem.h> #include <console/console.h> #include <program_loading.h>
void main(void) { console_init(); + cbmem_initialize_empty(); run_ramstage(); }
Aaron Durbin has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/36448 )
Change subject: mainboard/emulation/qemu-riscv: add cbmem initialiation in romstage ......................................................................
Abandoned
Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/36448 )
Change subject: mainboard/emulation/qemu-riscv: add cbmem initialiation in romstage ......................................................................
Patch Set 1:
Same code provided in https://review.coreboot.org/c/coreboot/+/36446