summaryrefslogtreecommitdiff
path: root/src/mainboard/google/oak
diff options
context:
space:
mode:
authorYidi Lin <yidi.lin@mediatek.com>2015-11-25 11:51:11 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-01-22 22:15:22 +0100
commit767b45fe962c87339d4a990b6f1371fe75555e09 (patch)
tree9c89a4a17df6fc67c06794958f6c56b57c270ad8 /src/mainboard/google/oak
parent82d9a31d9edb89077b137f7a92776e5103bb0ec8 (diff)
downloadcoreboot-767b45fe962c87339d4a990b6f1371fe75555e09.tar.xz
mediatek/mt8173: move rtc_boot() to romstage
BRANCH=none BUG=none TEST=boot to kernel Change-Id: I0630d7c172e97f81abb1722afe028542e9e7f106 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 608c66df0543c76be7e811b06718464776631b55 Original-Change-Id: I03426085121bfa44c99c351d63db28f567d0ee1d Original-Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/313969 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/13097 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/oak')
-rw-r--r--src/mainboard/google/oak/romstage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/oak/romstage.c b/src/mainboard/google/oak/romstage.c
index eecf49184c..a60a50dcaa 100644
--- a/src/mainboard/google/oak/romstage.c
+++ b/src/mainboard/google/oak/romstage.c
@@ -27,6 +27,7 @@
#include <timestamp.h>
#include <soc/mmu_operations.h>
+#include <soc/rtc.h>
void main(void)
{
@@ -36,6 +37,8 @@ void main(void)
console_init();
exception_init();
+ rtc_boot();
+
mt8173_mmu_after_dram();
run_ramstage();