summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r--src/mainboard/emulation/qemu-armv7/romstage.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-armv7/romstage.c b/src/mainboard/emulation/qemu-armv7/romstage.c
index 8dbe1a59de..598ddde10c 100644
--- a/src/mainboard/emulation/qemu-armv7/romstage.c
+++ b/src/mainboard/emulation/qemu-armv7/romstage.c
@@ -3,12 +3,16 @@
#include <cbmem.h>
#include <console/console.h>
#include <program_loading.h>
+#include <romstage_common.h>
void main(void)
{
console_init();
+ romstage_main();
+}
+void __noreturn romstage_main(void)
+{
cbmem_initialize_empty();
-
run_ramstage();
}