diff options
author | Ran Bi <ran.bi@mediatek.com> | 2019-02-20 10:25:09 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-28 13:42:25 +0000 |
commit | a198c9d732e1eedd801952108823a5a94ede2839 (patch) | |
tree | 3af2d035ea88ddbbc48b984bebd7ccc4294889db /src/mainboard/google | |
parent | 47d46d0a18af3ec140c07b8e3a88dd3fb53c331e (diff) | |
download | coreboot-a198c9d732e1eedd801952108823a5a94ede2839.tar.xz |
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 <ran.bi@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/31508
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/kukui/romstage.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <soc/emi.h> #include <soc/mmu_operations.h> #include <soc/mt6358.h> +#include <soc/rtc.h> #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(); } |