Commit 2347541e authored by Peng Fan's avatar Peng Fan
Browse files

MLK-18243-10 arm: imx8m: soc: enable SCTR clock before timer init

To i.MX8MM SCTR clock is disabled by ROM, so before timer init
need to enable it.
To i.MX8MQ, it does not hurt the clock is enabled again.
Signed-off-by: default avatarPeng Fan <>
parent 7b8e11d6
......@@ -249,9 +249,11 @@ void imx_set_wdog_powerdown(bool enable)
int arch_cpu_init(void)
* Init timer at very early state, because sscg pll setting
* will use it
* Init timer at very early state, because pll setting will use it,
* Rom Turnned off SCTR, enable it before timer_init
clock_enable(CCGR_SCTR, 1);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment