summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSamin Guo <samin.guo@starfivetech.com>2022-12-14 13:10:09 +0300
committerSamin Guo <samin.guo@starfivetech.com>2022-12-16 08:58:17 +0300
commit699c0a80340c59f6c68253966b0914cefd89baa2 (patch)
treee8ba168684f314dfa662dec3c7406439e6c46088 /board
parent9b71c6f5fa0d96680a3329e24afab8b09ad685fb (diff)
downloadu-boot-699c0a80340c59f6c68253966b0914cefd89baa2.tar.xz
board:starfive:jh7110: Set the CPU default frequency to 1000MHz
Set to 1000M to ensure the CPU can work normally under 0.8V` voltage Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Diffstat (limited to 'board')
-rw-r--r--board/starfive/evb/spl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/starfive/evb/spl.c b/board/starfive/evb/spl.c
index 8cab704031..8d07122719 100644
--- a/board/starfive/evb/spl.c
+++ b/board/starfive/evb/spl.c
@@ -61,8 +61,8 @@ void board_init_f(ulong dummy)
{
int ret;
- /* Adjust cpu frequency, the default is 1.25GHz */
- starfive_jh7110_pll_set_rate(PLL0, 1250000000);
+ /* Set pll0 cpufreq to 1000M */
+ starfive_jh7110_pll_set_rate(PLL0, 1000000000);
/*change pll2 to 1188MHz*/
starfive_jh7110_pll_set_rate(PLL2, 1188000000);