aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/arch/mips
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-08-06 18:44:20 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-08-06 18:44:20 +0000
commitdd78f746a56880a54e96da56df6431b7548c941a (patch)
tree6f749c9adb1c11e7ffca8b4e439cce4037572603 /target/linux/brcm63xx/files/arch/mips
parentfd666e7c7eb5ddb21a3bd49a217644986ffe5d99 (diff)
downloadupstream-dd78f746a56880a54e96da56df6431b7548c941a.tar.gz
upstream-dd78f746a56880a54e96da56df6431b7548c941a.tar.bz2
upstream-dd78f746a56880a54e96da56df6431b7548c941a.zip
disable watchdog for bcm6345 until it gets fixed
SVN-Revision: 17148
Diffstat (limited to 'target/linux/brcm63xx/files/arch/mips')
-rw-r--r--target/linux/brcm63xx/files/arch/mips/bcm63xx/dev-wdt.c5
1 files changed, 4 insertions, 1 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 d1479e179e..4aa2037dbd 100644
--- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/dev-wdt.c
+++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/dev-wdt.c
@@ -31,5 +31,8 @@ int __init bcm63xx_wdt_register(void)
wdt_resources[0].start = bcm63xx_regset_address(RSET_WDT);
wdt_resources[0].end = wdt_resources[0].start;
wdt_resources[0].end += RSET_WDT_SIZE - 1;
- return platform_device_register(&bcm63xx_wdt_device);
+
+ /* Disable watchdog for 6345 until we fix it */
+ if (!BCMCPU_IS_6345())
+ return platform_device_register(&bcm63xx_wdt_device);
}