summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/elog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/apollolake/elog.c')
-rw-r--r--src/soc/intel/apollolake/elog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/elog.c b/src/soc/intel/apollolake/elog.c
index f061188755..1e9b7d8329 100644
--- a/src/soc/intel/apollolake/elog.c
+++ b/src/soc/intel/apollolake/elog.c
@@ -73,7 +73,7 @@ static void pch_log_power_and_resets(struct chipset_power_state *ps)
elog_add_event(ELOG_TYPE_RTC_RESET);
/* System Reset */
- if (ps->gen_pmcon1 & SRS)
+ if (ps->gen_pmcon1 & WARM_RESET_STS)
elog_add_event(ELOG_TYPE_SYSTEM_RESET);
/* TCO Timeout */