Commit c738b76a authored by Ye Li's avatar Ye Li

MLK-19355 imx8mm: Enable sec_debug clock in SPL

ipg_stop from GPC is not connected to WDOG directly, the sec_debug clock is
used to sample the ipg_stop from GPC. So when this clock is off, ipg_stop input
of WDOG can’t assert, WDOG will fail to stop in DSM mode.
Enable this clock forever in SPL, so other SW don't need to touch it.
Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
Tested-by: 's avatarBai Ping <ping.bai@nxp.com>
(cherry picked from commit 1da6c9b3a837d15c25086af449462d5e8b56c290)
parent 74697e36
......@@ -717,6 +717,8 @@ int clock_init()
clock_enable(CCGR_ECSPI2, 1);
clock_enable(CCGR_ECSPI3, 1);
clock_enable(CCGR_SEC_DEBUG, 1);
enable_display_clk(1);
return 0;
};
......
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