summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8173/bootblock.c
diff options
context:
space:
mode:
authorTianping Fang <tianping.fang@mediatek.com>2015-07-31 17:10:58 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-01-22 19:36:46 +0100
commit11f4a297c012daa0b144fa3baaf5813082aef2c5 (patch)
tree2205509f84962409736bb4bd6346315eecc94112 /src/soc/mediatek/mt8173/bootblock.c
parentd95a463e495e3804379799adaba09300537d602a (diff)
downloadcoreboot-11f4a297c012daa0b144fa3baaf5813082aef2c5.tar.xz
mediatek/mt8173: Add RTC driver
BUG=none TEST=emerge-oak coreboot BRANCH=none Change-Id: I03740ce1afeb8607891fff61110a40dd98b80bdc Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 9b0cc22cb9e2010e28e854d9984c11149a71ae0b Original-Change-Id: I6d6482a75cc40ed6183ee115d5d866257afa24af Original-Signed-off-by: Tianping Fang <tianping.fang@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/292676 Original-Commit-Ready: Yidi Lin <yidi.lin@mediatek.com> Original-Tested-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/12616 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc/mediatek/mt8173/bootblock.c')
-rw-r--r--src/soc/mediatek/mt8173/bootblock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8173/bootblock.c b/src/soc/mediatek/mt8173/bootblock.c
index 7fe879c4b9..ac1fd3ab39 100644
--- a/src/soc/mediatek/mt8173/bootblock.c
+++ b/src/soc/mediatek/mt8173/bootblock.c
@@ -17,6 +17,7 @@
#include <soc/mmu_operations.h>
#include <soc/mt6391.h>
#include <soc/pll.h>
+#include <soc/rtc.h>
#include <soc/wdt.h>
void bootblock_soc_init(void)
@@ -33,4 +34,6 @@ void bootblock_soc_init(void)
/* init watch dog, will disable AP watch dog */
mtk_wdt_init();
+
+ rtc_boot();
}