summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/elog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail/elog.c')
-rw-r--r--src/soc/intel/baytrail/elog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/baytrail/elog.c b/src/soc/intel/baytrail/elog.c
index c31bb00124..df907a7991 100644
--- a/src/soc/intel/baytrail/elog.c
+++ b/src/soc/intel/baytrail/elog.c
@@ -42,6 +42,10 @@ static void log_power_and_resets(const struct chipset_power_state *ps)
elog_add_event(ELOG_TYPE_SUS_POWER_FAIL);
}
+ if (ps->gen_pmcon1 & RPS) {
+ elog_add_event(ELOG_TYPE_RTC_RESET);
+ }
+
if (ps->tco_sts & SECOND_TO_STS) {
elog_add_event(ELOG_TYPE_TCO_RESET);
}