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>
This commit is contained in:
Rex-BC Chen 2022-07-25 20:26:52 +08:00 committed by Paul Fagerburg
parent 86dde5fe72
commit d699de071f
1 changed files with 4 additions and 0 deletions

View File

@ -1,13 +1,17 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/stages.h> #include <arch/stages.h>
#include <soc/clkbuf.h>
#include <soc/mt6315.h> #include <soc/mt6315.h>
#include <soc/mt6359p.h> #include <soc/mt6359p.h>
#include <soc/pmif.h> #include <soc/pmif.h>
#include <soc/rtc.h>
void platform_romstage_main(void) void platform_romstage_main(void)
{ {
mtk_pmif_init(); mtk_pmif_init();
mt6315_init(); mt6315_init();
mt6359p_init(); mt6359p_init();
clk_buf_init();
rtc_boot();
} }