[brcm63xx] disable watchdog for bcm6345 until it gets fixed
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / files / arch / mips / bcm63xx / dev-wdt.c
index d1479e179ebba48c28a416e7d6cf0cd9d23fe59a..4aa2037dbd4894c203a8a99fc318be2469e150e2 100644 (file)
@@ -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);
 }