]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:34:18 +0000 (14:34 +0200)
commit85eb9d77ff860a9f1a3f0523cfc7ba53c1a34fa5
tree783c42876197656ccf4d3b1ee37d59176e5b2626
parentf53e0f30013ceb7e3041c9dd75acba0d4c2c9c1a
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