diff options
author | Ye Li <ye.li@nxp.com> | 2018-09-03 01:50:00 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-09-04 01:51:33 -0700 |
commit | 3518cb005e7288112b844317c9854e27ec14e924 (patch) | |
tree | a80d13254182e67b2db3b49b6f3a5970424bfd23 | |
parent | d7a6e1dffd49c7e0dd0040c02a1053f9a940951b (diff) |
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: Ye Li <ye.li@nxp.com>
Tested-by: Bai Ping <ping.bai@nxp.com>
(cherry picked from commit 1da6c9b3a837d15c25086af449462d5e8b56c290)
-rw-r--r-- | arch/arm/mach-imx/imx8m/clock_imx8mm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c b/arch/arm/mach-imx/imx8m/clock_imx8mm.c index 0a37e277ba..47e2fc740e 100644 --- a/arch/arm/mach-imx/imx8m/clock_imx8mm.c +++ b/arch/arm/mach-imx/imx8m/clock_imx8mm.c @@ -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; }; |