projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b36e9
)
imx9: use parameter freq when set_arm_clk
author
Peng Fan
<peng.fan@nxp.com>
Fri, 28 Apr 2023 04:08:17 +0000
(12:08 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Sun, 21 May 2023 14:54:40 +0000
(16:54 +0200)
The freq parameter was ignored, should use it when configuring ARM PLL
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx9/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/imx9/clock.c
b/arch/arm/mach-imx/imx9/clock.c
index 7d3a4c01333f3dd11b66dd396b840c1cec893556..f6021502b3d87bd7de21d7ba100b62fc4ab333fa 100644
(file)
--- a/
arch/arm/mach-imx/imx9/clock.c
+++ b/
arch/arm/mach-imx/imx9/clock.c
@@
-674,7
+674,7
@@
void set_arm_clk(ulong freq)
{
/* Increase ARM clock to 1.7Ghz */
ccm_shared_gpr_set(SHARED_GPR_A55_CLK, SHARED_GPR_A55_CLK_SEL_CCM);
- configure_intpll(ARM_PLL_CLK,
1700000000
);
+ configure_intpll(ARM_PLL_CLK,
freq
);
ccm_shared_gpr_set(SHARED_GPR_A55_CLK, SHARED_GPR_A55_CLK_SEL_PLL);
}