summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/dedede/smihandler.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/smihandler.c b/src/mainboard/google/dedede/smihandler.c
index 2c2230f4e4..4e3c830384 100644
--- a/src/mainboard/google/dedede/smihandler.c
+++ b/src/mainboard/google/dedede/smihandler.c
@@ -8,7 +8,9 @@
#include <baseboard/variants.h>
#include <cpu/x86/smm.h>
+#include <ec/google/chromeec/ec.h>
#include <ec/google/chromeec/smm.h>
+#include <elog.h>
#include <intelblocks/smihandler.h>
#include <variant/ec.h>
@@ -35,3 +37,8 @@ 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);
+}