Yidi Lin has submitted this change. ( https://review.coreboot.org/c/coreboot/+/86042?usp=email )
Change subject: mb/google/rauru: Add DVFS support in romstage ......................................................................
mb/google/rauru: Add DVFS support in romstage
BUG=b:317009620 TEST=Build passed, boot successful. Verified that the available CPU frequency ranges are correct using the command: cat /sys/devices/system/cpu/cpufreq/policy*/scaling_available_frequencies
Change-Id: I6f290946365b4c5a650651ebea30ffc76583d2b2 Signed-off-by: Jarried Lin jarried.lin@mediatek.corp-partner.google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/86042 Reviewed-by: Yidi Lin yidilin@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Yu-Ping Wu yupingso@google.com --- M src/mainboard/google/rauru/romstage.c 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: Yidi Lin: Looks good to me, approved Yu-Ping Wu: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/mainboard/google/rauru/romstage.c b/src/mainboard/google/rauru/romstage.c index 876a748..c48c9e2 100644 --- a/src/mainboard/google/rauru/romstage.c +++ b/src/mainboard/google/rauru/romstage.c @@ -2,6 +2,7 @@
#include <arch/stages.h> #include <soc/clkbuf_ctl.h> +#include <soc/dvfs.h> #include <soc/emi.h> #include <soc/irq2axi.h> #include <soc/modem_power_ctrl.h> @@ -43,6 +44,7 @@ clk_buf_init(); mtk_dram_init(); modem_power_down(); + dvfs_init(); thermal_init();
if (CONFIG(PCI))