summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/hardwaremain.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c
index 3c6fb931d8..a4c154e7a8 100644
--- a/src/lib/hardwaremain.c
+++ b/src/lib/hardwaremain.c
@@ -451,9 +451,10 @@ void main(void)
/* console_init() MUST PRECEDE ALL printk()! Additionally, ensure
* it is the very first thing done in ramstage.*/
console_init();
-
post_code(POST_CONSOLE_READY);
+ exception_init();
+
/*
* CBMEM needs to be recovered because timestamps, ACPI, etc rely on
* the cbmem infrastructure being around. Explicitly recover it.
@@ -470,8 +471,6 @@ void main(void)
#if CONFIG(HAVE_ACPI_RESUME)
acpi_is_wakeup();
#endif
-
- exception_init();
threads_initialize();
/* Schedule the static boot state entries. */