commit | 825f273dda6d75ea5786fb596dd166f9b4509d4b | [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 | c5ce680cd3fd2eb6d4b69d4f641f49362a799dbe [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>