Skip to content

Commit 969ff6f

Browse files
yongxu-wang15fabiobaltieri
authored andcommitted
soc: nxp: imx93: fix system tick idle issue on m33
clear SLEEP_HOLD_EN bit to make sure m33 system tick works fine in idle task Signed-off-by: Yongxu Wang <[email protected]>
1 parent 77a03b2 commit 969ff6f

File tree

1 file changed

+3
-0
lines changed
  • soc/nxp/imx/imx9/imx93/m33

1 file changed

+3
-0
lines changed

soc/nxp/imx/imx9/imx93/m33/soc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ void soc_early_init_hook(void)
1717
GPIO2->PCNS = 0x0;
1818
GPIO3->PCNS = 0x0;
1919
GPIO4->PCNS = 0x0;
20+
21+
/* keep system tick work fine during idle task */
22+
GPC_CTRL_CM33->CM_MISC &= ~GPC_CPU_CTRL_CM_MISC_SLEEP_HOLD_EN_MASK;
2023
}
2124
#endif

0 commit comments

Comments
 (0)