mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2025-02-12 13:48:23 +00:00
rockchip/rk3399: reinitilize secure sgrf when resume
when shutdown logic power rail, the some sgrf register value will reset, so need to reinitilize secure. Change-Id: I8ad0570432e54441fe1c60dd2960a81fd58f7163 Signed-off-by: Lin Huang <hl@rock-chips.com>
This commit is contained in:
parent
a7bb3388b1
commit
dbc0f2dcc0
@ -1413,6 +1413,8 @@ int rockchip_soc_sys_pwr_dm_resume(void)
|
||||
enable_dvfs_plls();
|
||||
|
||||
secure_watchdog_enable();
|
||||
secure_sgrf_init();
|
||||
secure_sgrf_ddr_rgn_init();
|
||||
|
||||
/* restore clk_ddrc_bpll_src_en gate */
|
||||
mmio_write_32(CRU_BASE + CRU_CLKGATE_CON(3),
|
||||
|
Loading…
x
Reference in New Issue
Block a user