add reboot fix from #1312
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx-2.6 / files / arch / mips / bcm947xx / setup.c
index 547c50a7371cd704f96b6802fa3ba56bcbc3820d..f7687d4dd12e37321362d98c638b7d69c223b72e 100644 (file)
@@ -54,7 +54,7 @@ static void bcm47xx_machine_restart(char *command)
         */
 
        /* Set the watchdog timer to reset immediately */
-//TODO sb_watchdog(sbh, 1);
+       ssb_chipco_watchdog(&ssb.chipco, 1);
        while (1)
                cpu_relax();
 }
@@ -63,7 +63,7 @@ static void bcm47xx_machine_halt(void)
 {
        /* Disable interrupts and watchdog and spin forever */
        local_irq_disable();
-//TODO sb_watchdog(sbh, 0);
+       ssb_chipco_watchdog(&ssb.chipco, 0);
        while (1)
                cpu_relax();
 }