Skip to content
Snippets Groups Projects
Commit 4f7abafe authored by MengLi's avatar MengLi Committed by Stefan Roese
Browse files

driver: watchdog: reset watchdog in designware_wdt_stop() function


In uboot command line environment, watchdog is not able to be
stopped with below commands:
SOCFPGA_STRATIX10 # wdt dev watchdog@ffd00200
SOCFPGA_STRATIX10 # wdt stop
Refer to watchdog driver in linux kernel, it is also need to reset
watchdog after disable it so that the disable action takes effect.

Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Reviewed-by: default avatarSean Anderson <sean.anderson@seco.com>
parent d3fc3da9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment