aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/console/post_codes.h16
-rw-r--r--src/lib/hardwaremain.c2
2 files changed, 9 insertions, 9 deletions
diff --git a/src/include/console/post_codes.h b/src/include/console/post_codes.h
index 9682e4db6c..9b2398c6fa 100644
--- a/src/include/console/post_codes.h
+++ b/src/include/console/post_codes.h
@@ -112,6 +112,14 @@
#define POST_PRE_HARDWAREMAIN 0x6e
/**
+ * \brief Entry into coreboot in RAM stage main()
+ *
+ * This is the first call in hardwaremain.c. If this code is POSTed, then
+ * ramstage has successfully loaded and started executing.
+ */
+#define POST_ENTRY_HARDWAREMAIN 0x6f
+
+/**
* \brief Before Device Probe
*
* Boot State Machine: bs_pre_device()
@@ -196,14 +204,6 @@
#define POST_BS_PAYLOAD_BOOT 0x7b
/**
- * \brief Entry into coreboot in RAM stage main()
- *
- * This is the first call in hardwaremain.c. If this code is POSTed, then
- * ramstage has successfully loaded and started executing.
- */
-#define POST_ENTRY_RAMSTAGE 0x80
-
-/**
* \brief Before calling FSP Notify before End of Firmware
*
* Going to call into FSP binary for Notify phase
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c
index 895a942222..cd4a57e96e 100644
--- a/src/lib/hardwaremain.c
+++ b/src/lib/hardwaremain.c
@@ -442,7 +442,7 @@ void main(void)
cbmem_initialize();
timestamp_add_now(TS_START_RAMSTAGE);
- post_code(POST_ENTRY_RAMSTAGE);
+ post_code(POST_ENTRY_HARDWAREMAIN);
/* Handoff sleep type from romstage. */
acpi_is_wakeup_s3();