mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
sync ssb with upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9302 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -55,7 +55,7 @@ static void bcm47xx_machine_restart(char *command)
|
||||
*/
|
||||
|
||||
/* Set the watchdog timer to reset immediately */
|
||||
ssb_chipco_watchdog(&ssb.chipco, 1);
|
||||
ssb_chipco_watchdog_timer_set(&ssb.chipco, 1);
|
||||
while (1)
|
||||
cpu_relax();
|
||||
}
|
||||
@@ -64,7 +64,7 @@ static void bcm47xx_machine_halt(void)
|
||||
{
|
||||
/* Disable interrupts and watchdog and spin forever */
|
||||
local_irq_disable();
|
||||
ssb_chipco_watchdog(&ssb.chipco, 0);
|
||||
ssb_chipco_watchdog_timer_set(&ssb.chipco, 0);
|
||||
while (1)
|
||||
cpu_relax();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user