Commit 7b8e11d6 authored by Peng Fan's avatar Peng Fan

MLK-18243-9 arm: imx8m: soc: restrict clock_init in SPL stage

There is no need to execute clock_init in both SPL and normal
uboot stage, so restrict it in SPL stage.
Signed-off-by: 's avatarPeng Fan <peng.fan@nxp.com>
parent d00d346b
......@@ -253,7 +253,9 @@ int arch_cpu_init(void)
* will use it
*/
timer_init();
#ifdef CONFIG_SPL_BUILD
clock_init();
#endif
imx_set_wdog_powerdown(false);
......
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