summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/skylake/pmc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/pmc.c b/src/soc/intel/skylake/pmc.c
index fb095896aa..a2d88aa8a4 100644
--- a/src/soc/intel/skylake/pmc.c
+++ b/src/soc/intel/skylake/pmc.c
@@ -139,6 +139,9 @@ static void pch_rtc_init(void)
printk(BIOS_DEBUG, "rtc_failed = 0x%x\n", rtc_failed);
}
+ /* Ensure the date is set including century byte. */
+ cmos_check_update_date();
+
#if IS_ENABLED(CONFIG_CHROMEOS_VBNV_CMOS)
pch_cmos_init_preserve(rtc_failed);
#else