summaryrefslogtreecommitdiff
path: root/src/lib/hardwaremain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hardwaremain.c')
-rw-r--r--src/lib/hardwaremain.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c
index d90e0f6b94..277d9b72ba 100644
--- a/src/lib/hardwaremain.c
+++ b/src/lib/hardwaremain.c
@@ -464,6 +464,11 @@ void main(void)
post_code(POST_CONSOLE_BOOT_MSG);
+ /* Handoff sleep type from romstage. */
+#if CONFIG_HAVE_ACPI_RESUME
+ acpi_is_wakeup();
+#endif
+
threads_initialize();
/* Schedule the static boot state entries. */