summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/hatch/smihandler.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/smihandler.c b/src/mainboard/google/hatch/smihandler.c
index 68ef155423..af069e11ad 100644
--- a/src/mainboard/google/hatch/smihandler.c
+++ b/src/mainboard/google/hatch/smihandler.c
@@ -14,7 +14,9 @@
*/
#include <cpu/x86/smm.h>
+#include <ec/google/chromeec/ec.h>
#include <ec/google/chromeec/smm.h>
+#include <elog.h>
#include <soc/smm.h>
#include <variant/ec.h>
@@ -35,3 +37,9 @@ int mainboard_smi_apmc(u8 apmc)
MAINBOARD_EC_SMI_EVENTS);
return 0;
}
+
+void elog_gsmi_cb_mainboard_log_wake_source(void)
+{
+ google_chromeec_log_events(MAINBOARD_EC_LOG_EVENTS |
+ MAINBOARD_EC_S0IX_WAKE_EVENTS);
+}