commit | 56bf9407308fe5eb611f6414d85cca4aef125ed9 | [log] [tgz] |
---|---|---|
author | Lin Huang <hl@rock-chips.com> | Tue Mar 20 09:37:21 2018 +0800 |
committer | Caesar Wang <wxt@rock-chips.com> | Tue Mar 20 09:42:27 2018 +0800 |
tree | d5251b30d8a618a44327a48d8174a79ef376d2e0 | |
parent | fb45044bc567b96e8be243b717ec2920224cd9b9 [diff] |
rockchip/rk3399: save/restore watchdog register correctly there are two fix for save/restore watchdog register: 1. watchdog plck will shutdown after secure_watchdog_disable(), so need to save register before it and restore after secure_watchdog_enable(). 2. need write 0x76 to cnt_restart to keep watchdog alive when restore watchdog register. Change-Id: I1f6fbceae22186e3b72a87df6332a110adf37479 Signed-off-by: Lin Huang <hl@rock-chips.com>