From 9d11cd70810f5879482a10b67007e3b05e754f2d Mon Sep 17 00:00:00 2001 From: Bo-Chen Chen Date: Thu, 30 Jun 2022 13:40:49 +0800 Subject: mb/google/geralt: Initialize PMICs in romstage TEST=build pass BUG=b:233720142 Signed-off-by: Bo-Chen Chen Change-Id: I71cc69c74dd618f441140790af351095ead3f6f9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65759 Reviewed-by: Yidi Lin Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/mainboard/google/geralt/romstage.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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 +#include +#include +#include void platform_romstage_main(void) { - /* TODO: add romstage main function */ + mtk_pmif_init(); + mt6315_init(); + mt6359p_init(); } -- cgit v1.2.3