summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/baytrail/southcluster.c2
-rw-r--r--src/soc/intel/fsp_baytrail/romstage/romstage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/baytrail/southcluster.c b/src/soc/intel/baytrail/southcluster.c
index 261c95ae1d..500a13d1e2 100644
--- a/src/soc/intel/baytrail/southcluster.c
+++ b/src/soc/intel/baytrail/southcluster.c
@@ -143,7 +143,7 @@ static void sc_rtc_init(void)
printk(BIOS_DEBUG, "RTC failure.\n");
}
- rtc_init(rtc_fail);
+ cmos_init(rtc_fail);
}
/*
diff --git a/src/soc/intel/fsp_baytrail/romstage/romstage.c b/src/soc/intel/fsp_baytrail/romstage/romstage.c
index 0c72b98d50..cd3cd90d21 100644
--- a/src/soc/intel/fsp_baytrail/romstage/romstage.c
+++ b/src/soc/intel/fsp_baytrail/romstage/romstage.c
@@ -151,7 +151,7 @@ static void baytrail_rtc_init(void)
write32(DEFAULT_PBASE + GEN_PMCON1, gen_pmcon1 & ~RPS);
}
- rtc_init(rtc_failed);
+ cmos_init(rtc_failed);
}
/* Entry from cache-as-ram.inc. */