]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: bcm47xx_wdt.c: add hard timer
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Jan 2013 17:14:11 +0000 (18:14 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 7 Feb 2013 22:27:00 +0000 (23:27 +0100)
commita8eddb8ec8a6edf00350d3ea7fe82f3444c2a5a8
treec2df0f3e0f08e27c26320f6b94d424a19311dc6c
parent250c94e87d39f331ab4475b95bea9bacafc69b51
watchdog: bcm47xx_wdt.c: add hard timer

The more recent devices have a watchdog timer which could be configured
for over 2 hours and not just 2 seconds like the first generation
devices. For those devices do not use the extra software timer, but
directly program the time into the register. This will automatically be
used if the timer supports more than a minute.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/bcm47xx_wdt.c