From 2cc086f929ebf2482b3c67c9274b0b6f7c025e77 Mon Sep 17 00:00:00 2001 From: Jarried Lin Date: Fri, 6 Dec 2024 18:46:01 +0800 Subject: [PATCH] mb/google/rauru: Add thermal init flow in romstage BUG=b:317009620 TEST=build pass, thermal init log: [INFO ] [LVTS] reset_cpu_lvts [INFO ] [Thermal]===== lvts_thermal_init begin ==== [INFO ] [Thermal]thermal_init: thermal initialized Change-Id: I518ffd92684a222f25d642a51e73a0faa453a8b1 Signed-off-by: Zhaoqing Jiu Reviewed-on: https://review.coreboot.org/c/coreboot/+/86018 Reviewed-by: Yu-Ping Wu Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) --- src/mainboard/google/rauru/romstage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainboard/google/rauru/romstage.c b/src/mainboard/google/rauru/romstage.c index 767799519c..876a7480f1 100644 --- a/src/mainboard/google/rauru/romstage.c +++ b/src/mainboard/google/rauru/romstage.c @@ -15,6 +15,7 @@ #include #include #include +#include static void raise_little_cpu_freq(void) { @@ -42,6 +43,7 @@ void platform_romstage_main(void) clk_buf_init(); mtk_dram_init(); modem_power_down(); + thermal_init(); if (CONFIG(PCI)) mtk_pcie_deassert_perst();