diff options
author | Peng Fan | 2023-04-28 12:08:17 +0800 |
---|---|---|
committer | Stefano Babic | 2023-05-21 16:54:40 +0200 |
commit | 5f2953eb6b3f426e470a4d79dfeab72ccfa75e5f (patch) | |
tree | b4e955bad98f99d5a6ce6254e0491430f56583dd /arch | |
parent | a6b36e99708a1b667f44287fc25084bfd735183d (diff) |
imx9: use parameter freq when set_arm_clk
The freq parameter was ignored, should use it when configuring ARM PLL
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/imx9/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c index 7d3a4c01333..f6021502b3d 100644 --- 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); } |