]> git.baikalelectronics.ru Git - uboot.git/commit
driver: watchdog: reset watchdog in designware_wdt_stop() function
authorMengLi <meng.li@windriver.com>
Mon, 24 May 2021 02:22:48 +0000 (10:22 +0800)
committerStefan Roese <sr@denx.de>
Fri, 16 Jul 2021 08:28:35 +0000 (10:28 +0200)
commit910beba2d276642dc96520561fb4917187f4eba7
tree451ab1a2e31dafef28c59693a8e4af196207cd69
parent3003f432e00548376ef02e1729ca1a3bb430096e
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: Meng Li <Meng.Li@windriver.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
drivers/watchdog/designware_wdt.c