Arthur Heymans has uploaded this change for review.

View Change

mb/emulation/qemu-riscv: Initialize cbmem in romstage

Change-Id: I00f8e3b315e57a5c042889f48450f79d263f24b1
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
---
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/46/36446/1
diff --git a/src/mainboard/emulation/qemu-riscv/romstage.c b/src/mainboard/emulation/qemu-riscv/romstage.c
index 684b249..d9b87c9 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();
}

To view, visit change 36446. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I00f8e3b315e57a5c042889f48450f79d263f24b1
Gerrit-Change-Number: 36446
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-MessageType: newchange