[brcm63xx] disable watchdog for bcm6345 until it gets fixed

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17148 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2009-08-06 18:44:20 +00:00
parent e52728c0b8
commit 1bfab34d40
1 changed files with 4 additions and 1 deletions

View 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);
}