summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm64/romstage.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/arm64/romstage.c b/src/arch/arm64/romstage.c
index b144f9320f..654ba5a289 100644
--- a/src/arch/arm64/romstage.c
+++ b/src/arch/arm64/romstage.c
@@ -5,6 +5,7 @@
#include <cbmem.h>
#include <console/console.h>
#include <program_loading.h>
+#include <romstage_common.h>
#include <timestamp.h>
__weak void platform_romstage_main(void) { /* no-op, for bring-up */ }
@@ -15,8 +16,13 @@ void main(void)
timestamp_add_now(TS_ROMSTAGE_START);
console_init();
+
exception_init();
+ romstage_main();
+}
+void __noreturn romstage_main(void)
+{
platform_romstage_main();
cbmem_initialize_empty();
platform_romstage_postram();