]> git.ipfire.org Git - people/ms/u-boot.git/commit
watchdog/imx_watchdog: do not set WCR_WDW
authorSebastian Siewior <bigeasy@linutronix.de>
Tue, 3 Mar 2015 16:45:43 +0000 (17:45 +0100)
committerStefano Babic <sbabic@denx.de>
Wed, 25 Mar 2015 15:52:16 +0000 (16:52 +0100)
commit5cab874052614fb130cd9b16fc6a3d27cae0741e
tree6a522b5a09486729f0139e7b65e9208ac8b5cd20
parent27d3608076b37f372b9ba59e1eb00114291d6558
watchdog/imx_watchdog: do not set WCR_WDW

with WCR_WDW set, the watchdog won't trigger if we bootet linux and idle
around while the watchdog is not triggered. It seems the timer makes
progress very slowly if at all. I managed to remain 20minutes alive
while the timeout was set to 60secs. It reboots within 60secs if I start
a busyloop in userland (something like "while (1) { }").

While I don't see a reason why the WDT should not be running while the
CPU is in idle, I'm dropping this bit.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Stefano Babic <sbabic@denx.de>
drivers/watchdog/imx_watchdog.c