From a198c9d732e1eedd801952108823a5a94ede2839 Mon Sep 17 00:00:00 2001 From: Ran Bi Date: Wed, 20 Feb 2019 10:25:09 +0800 Subject: [PATCH] google/kukui: Add RTC initialization Initialize RTC at ROM stage. BUG=b:80501386 BRANCH=none TEST=Boots correctly on Kukui Change-Id: I9d9c68755e8a6ac65dd794211e6ccf06e5057567 Signed-off-by: Ran Bi Reviewed-on: https://review.coreboot.org/c/31508 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin --- src/mainboard/google/kukui/romstage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainboard/google/kukui/romstage.c b/src/mainboard/google/kukui/romstage.c index 7aad11f282..7d0e9c2d73 100644 --- a/src/mainboard/google/kukui/romstage.c +++ b/src/mainboard/google/kukui/romstage.c @@ -17,6 +17,7 @@ #include #include #include +#include #include "early_init.h" @@ -27,6 +28,7 @@ void platform_romstage_main(void) mainboard_early_init(); mt6358_init(); + rtc_boot(); mt_mem_init(get_sdram_config()); mtk_mmu_after_dram(); }