aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/arch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-08-06 18:53:44 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-08-06 18:53:44 +0000
commit48c1634d3e91ed380cca5bb3ae521f126c83780d (patch)
tree3584cc4fea6d08242da9966ac4f33e3e38d97922 /target/linux/brcm63xx/files/arch
parentdd78f746a56880a54e96da56df6431b7548c941a (diff)
downloadupstream-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/arch')
-rw-r--r--target/linux/brcm63xx/files/arch/mips/bcm63xx/dev-wdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/dev-wdt.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/dev-wdt.c
index 4aa2037dbd..6e184891dc 100644
--- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/dev-wdt.c
+++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/dev-wdt.c
@@ -32,7 +32,5 @@ int __init bcm63xx_wdt_register(void)
wdt_resources[0].end = wdt_resources[0].start;
wdt_resources[0].end += RSET_WDT_SIZE - 1;
- /* Disable watchdog for 6345 until we fix it */
- if (!BCMCPU_IS_6345())
- return platform_device_register(&bcm63xx_wdt_device);
+ return platform_device_register(&bcm63xx_wdt_device);
}