瀏覽代碼

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 1 年之前
父節點
當前提交
9b71c6f5fa
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: