summaryrefslogtreecommitdiff
path: root/src/southbridge/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r--src/southbridge/intel/lynxpoint/smi.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/southbridge/intel/lynxpoint/smi.c b/src/southbridge/intel/lynxpoint/smi.c
index 75c3e66743..af40eaf020 100644
--- a/src/southbridge/intel/lynxpoint/smi.c
+++ b/src/southbridge/intel/lynxpoint/smi.c
@@ -19,7 +19,7 @@
* MA 02110-1301 USA
*/
-
+#include <bootstate.h>
#include <device/device.h>
#include <device/pci.h>
#include <console/console.h>
@@ -124,3 +124,20 @@ void smm_setup_structures(void *gnvs, void *tcg, void *smi1)
"d" (APM_CNT)
);
}
+
+/*
+ * Finalize system before payload boot if not in ChromeOS environment.
+ */
+#if !CONFIG_CHROMEOS
+
+static void finalize_boot(void *unused)
+{
+ outb(0xcb, 0xb2);
+}
+
+BOOT_STATE_INIT_ENTRIES(finalize) = {
+ BOOT_STATE_INIT_ENTRY(BS_PAYLOAD_BOOT, BS_ON_ENTRY,
+ finalize_boot, NULL),
+};
+
+#endif