ramips: watchdog: use maximum possible timeout by default
authorGabor Juhos <juhosg@openwrt.org>
Sun, 12 Aug 2012 12:48:28 +0000 (12:48 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 12 Aug 2012 12:48:28 +0000 (12:48 +0000)
commitf5cbc0457a3f681de1a329531e50c711c479c412
tree29e9aa40ae773085a689b2c571909c5617bc1192
parenta2ec9c876d0d3246b866edeef273b54d9f4dc8e9
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