diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-08-06 18:53:44 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-08-06 18:53:44 +0000 |
commit | 48c1634d3e91ed380cca5bb3ae521f126c83780d (patch) | |
tree | 3584cc4fea6d08242da9966ac4f33e3e38d97922 /target/linux/brcm63xx/files/drivers | |
parent | dd78f746a56880a54e96da56df6431b7548c941a (diff) | |
download | upstream-48c1634d3e91ed380cca5bb3ae521f126c83780d.tar.gz upstream-48c1634d3e91ed380cca5bb3ae521f126c83780d.tar.bz2 upstream-48c1634d3e91ed380cca5bb3ae521f126c83780d.zip |
fix off-by-one maximum timeout in the wathchdog default counter for bcm6345, thanks AndyI
SVN-Revision: 17149
Diffstat (limited to 'target/linux/brcm63xx/files/drivers')
-rw-r--r-- | target/linux/brcm63xx/files/drivers/watchdog/bcm63xx_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/drivers/watchdog/bcm63xx_wdt.c b/target/linux/brcm63xx/files/drivers/watchdog/bcm63xx_wdt.c index 5e7689c6f3..8d58ccd8b3 100644 --- a/target/linux/brcm63xx/files/drivers/watchdog/bcm63xx_wdt.c +++ b/target/linux/brcm63xx/files/drivers/watchdog/bcm63xx_wdt.c @@ -57,7 +57,7 @@ MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=" /* HW functions */ static void bcm63xx_wdt_hw_start(void) { - bcm_writel(0xffffffff, bcm63xx_wdt_device.regs + WDT_DEFVAL_REG); + bcm_writel(0xfffffffe, bcm63xx_wdt_device.regs + WDT_DEFVAL_REG); bcm_writel(WDT_START_1, bcm63xx_wdt_device.regs + WDT_CTL_REG); bcm_writel(WDT_START_2, bcm63xx_wdt_device.regs + WDT_CTL_REG); } |