summaryrefslogtreecommitdiff
path: root/src/mainboard/google/geralt
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.com>2022-07-25 20:26:52 +0800
committerPaul Fagerburg <pfagerburg@chromium.org>2022-07-29 15:05:14 +0000
commitd699de071fee0572971170637fe3bd81dbc463c9 (patch)
tree011d1eff7a6a4ffabec5a0699ae7c183157b56a8 /src/mainboard/google/geralt
parent86dde5fe7292a0b5320db8678489645a6ec9a1a2 (diff)
mb/google/geralt: Initialize RTC and clk_buf in romstage
TEST=build pass. BUG=b:233720142 Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I869c0879d09e00cf66882adb728c9ccb6ac57e03 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66183 Reviewed-by: Yidi Lin <yidilin@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/geralt')
-rw-r--r--src/mainboard/google/geralt/romstage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/geralt/romstage.c b/src/mainboard/google/geralt/romstage.c
index f0ca3dd6d6..0f04021bde 100644
--- a/src/mainboard/google/geralt/romstage.c
+++ b/src/mainboard/google/geralt/romstage.c
@@ -1,13 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/stages.h>
+#include <soc/clkbuf.h>
#include <soc/mt6315.h>
#include <soc/mt6359p.h>
#include <soc/pmif.h>
+#include <soc/rtc.h>
void platform_romstage_main(void)
{
mtk_pmif_init();
mt6315_init();
mt6359p_init();
+ clk_buf_init();
+ rtc_boot();
}