imx9_clockconfig: fix a thinko

putreg32() arguments were swapped.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
This commit is contained in:
Eero Nurkkala 2024-05-15 14:08:42 +03:00 committed by Xiang Xiao
parent e067f897c0
commit ae00569ef9

View File

@ -376,9 +376,9 @@ void imx9_clockconfig(void)
/* Set the CPU clock */ /* Set the CPU clock */
putreg32(IMX9_CCM_GPR_SH_CLR(CCM_SHARED_A55_CLK), CCM_GPR_A55_CLK_SEL_PLL); putreg32(CCM_GPR_A55_CLK_SEL_PLL, IMX9_CCM_GPR_SH_CLR(CCM_SHARED_A55_CLK));
pll_init(pll_arm.reg, pll_arm.frac, &pll_arm.parms); pll_init(pll_arm.reg, pll_arm.frac, &pll_arm.parms);
putreg32(IMX9_CCM_GPR_SH_SET(CCM_SHARED_A55_CLK), CCM_GPR_A55_CLK_SEL_PLL); putreg32(CCM_GPR_A55_CLK_SEL_PLL, IMX9_CCM_GPR_SH_SET(CCM_SHARED_A55_CLK));
/* Run the PLL configuration */ /* Run the PLL configuration */