summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo-Chen Chen <rex-bc.chen@mediatek.com>2022-06-30 13:40:49 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-07-21 10:29:31 +0000
commit9d11cd70810f5879482a10b67007e3b05e754f2d (patch)
treeb08ff772ae931b89d51b91ef5c3439cec0c01237
parentf1d9e42269b86fa2d87cf840a14af3725af46627 (diff)
mb/google/geralt: Initialize PMICs in romstage
TEST=build pass BUG=b:233720142 Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I71cc69c74dd618f441140790af351095ead3f6f9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65759 Reviewed-by: Yidi Lin <yidilin@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/geralt/romstage.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/google/geralt/romstage.c b/src/mainboard/google/geralt/romstage.c
index 0db6fd2674..f0ca3dd6d6 100644
--- a/src/mainboard/google/geralt/romstage.c
+++ b/src/mainboard/google/geralt/romstage.c
@@ -1,8 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/stages.h>
+#include <soc/mt6315.h>
+#include <soc/mt6359p.h>
+#include <soc/pmif.h>
void platform_romstage_main(void)
{
- /* TODO: add romstage main function */
+ mtk_pmif_init();
+ mt6315_init();
+ mt6359p_init();
}