diff options
Diffstat (limited to 'board/starfive')
-rw-r--r-- | board/starfive/evb/spl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/starfive/evb/spl.c b/board/starfive/evb/spl.c index 85cfcce0d8..2a02301b11 100644 --- a/board/starfive/evb/spl.c +++ b/board/starfive/evb/spl.c @@ -216,6 +216,9 @@ void board_init_f(ulong dummy) { int ret; + /* Adjust cpu frequency, the default is 1.25GHz */ + spl_cpu_set_rate(CPU_FREQ_1250); + /*DDR control depend clk init*/ clrsetbits_le32(SYS_CRG_BASE, CLK_CPU_ROOT_SW_MASK, BIT(CLK_CPU_ROOT_SW_SHIFT) & CLK_CPU_ROOT_SW_MASK); @@ -258,9 +261,6 @@ void board_init_f(ulong dummy) arch_cpu_init_dm(); - /* Adjust cpu frequency, the default is 1.25GHz */ - spl_cpu_set_rate(CPU_FREQ_1250); - preloader_console_init(); ret = spl_board_init_f(); |