Parcourir la source

board:starfive:jh7110: default cpufreq is 1000Mhz.

The frequency of pll0 is set to 1000Mhz in the bootrom

Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Samin Guo il y a 1 an
Parent
commit
9b71c6f5fa
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      arch/riscv/cpu/jh7110/pll.c

+ 1 - 1
arch/riscv/cpu/jh7110/pll.c

@@ -279,7 +279,7 @@ static u64 pll_get_rate(enum starfive_pll_type pll,
 		fbdiv = GET_PLL(PLL0, FBDIV);
 		postdiv1 = 1 << GET_PLL(PLL0, POSTDIV1);
 		frac = GET_PLL(PLL0, FRAC);
-		deffreq = 1250000000;
+		deffreq = 1000000000;
 		break;
 
 	case PLL1: