aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/elog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/cannonlake/elog.c')
-rw-r--r--src/soc/intel/cannonlake/elog.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/intel/cannonlake/elog.c b/src/soc/intel/cannonlake/elog.c
index e5541e31a9..5319cff897 100644
--- a/src/soc/intel/cannonlake/elog.c
+++ b/src/soc/intel/cannonlake/elog.c
@@ -123,3 +123,10 @@ static void pch_log_state(void *unused)
}
BOOT_STATE_INIT_ENTRY(BS_DEV_INIT, BS_ON_EXIT, pch_log_state, NULL);
+
+void elog_gsmi_cb_platform_log_wake_source(void)
+{
+ struct chipset_power_state ps;
+ pmc_fill_pm_reg_info(&ps);
+ pch_log_wake_source(&ps);
+}