shithub: riscv

Download patch

ref: aea866a49300a5e31e737d8fe54763711e693f05
parent: 39aabc9f7a14427fed2bc22474fef1681de726d2
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sun Aug 21 17:56:03 EDT 2022

imx8: disable turbo mode, set to 1.4GHz which is stable on first boot

--- a/sys/src/9/imx8/clock.c
+++ b/sys/src/9/imx8/clock.c
@@ -46,7 +46,7 @@
 
 		/* TURBO! */
 		setclkrate("ccm_arm_a53_clk_root", "osc_25m_ref_clk", 25*Mhz);
-		setclkrate("ccm_arm_a53_clk_root", "arm_pll_clk", 1600*Mhz);
+		setclkrate("ccm_arm_a53_clk_root", "arm_pll_clk", 1400*Mhz);
 	}
 	tstart = sysrd(CNTPCT_EL0);
 	do{