ramips: watchdog: use maximum possible timeout by default
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Aug 2012 12:48:28 +0000 (12:48 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Aug 2012 12:48:28 +0000 (12:48 +0000)
commit2c5c4009fb85b3f81549abca373c2aa485edb1b6
tree29e9aa40ae773085a689b2c571909c5617bc1192
parent3ccfe576deb8890c75cd739a9a2f6b36eadf694f
ramips: watchdog: use maximum possible timeout by default

As the userspace has no means to determine the maximum possible timeout, use
that as the default and let the userspace lower it when necessary.

As the result the usual OpenWrt install (with busybox's watchdog trying to set
the timeout to 60s on start) is using a 33s timeout on an RT3052 clocked at
384MHz instead of the current 20s default.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33144 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/files/drivers/watchdog/ramips_wdt.c