From: Peng Fan Date: Fri, 28 Apr 2023 04:08:17 +0000 (+0800) Subject: imx9: use parameter freq when set_arm_clk X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=5f2953eb6b3f426e470a4d79dfeab72ccfa75e5f;p=u-boot.git 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 --- diff --git a/arch/arm/mach-imx/imx9/clock.c b/arch/arm/mach-imx/imx9/clock.c index 7d3a4c0133..f6021502b3 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); }