mirror of
https://github.com/apache/nuttx.git
synced 2026-08-23 06:28:45 +00:00
imx9_clockconfig: fix a thinko
putreg32() arguments were swapped. Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
This commit is contained in:
parent
e067f897c0
commit
ae00569ef9
1 changed files with 2 additions and 2 deletions
|
|
@ -376,9 +376,9 @@ void imx9_clockconfig(void)
|
|||
|
||||
/* 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);
|
||||
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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue