]> git.baikalelectronics.ru Git - uboot.git/commit
watchdog: imx: Use immediate reset bits for expire_now
authorRobert Hancock <hancock@sedsystems.ca>
Tue, 6 Aug 2019 17:05:30 +0000 (11:05 -0600)
committerStefano Babic <sbabic@denx.de>
Sun, 3 Nov 2019 16:04:16 +0000 (17:04 +0100)
commitf85237923117b0ffe4c3b7e72346ed2417360aa9
tree86a7f4b59379257270332ae43f653798f5803017
parente5872c8c255e6bb4351f69118d8d4d59ec95a32e
watchdog: imx: Use immediate reset bits for expire_now

The expire_now function was previously setting the watchdog timeout to
minimum and waiting for the watchdog to expire. However, this watchdog
also has bits to trigger immediate reset. Use those instead, like the
Linux imx2_wdt driver does.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
drivers/watchdog/imx_watchdog.c