aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx-2.6/files/arch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-14 01:26:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-14 01:26:57 +0000
commita091fb867b3df7eda357e216d4d5bbcacac9eb07 (patch)
treede119e55e0313cbc7e512f5960535e55e347f753 /target/linux/brcm47xx-2.6/files/arch
parent153a864700d0c5d7acacdaf80015e943fc471c10 (diff)
downloadmaster-187ad058-a091fb867b3df7eda357e216d4d5bbcacac9eb07.tar.gz
master-187ad058-a091fb867b3df7eda357e216d4d5bbcacac9eb07.tar.bz2
master-187ad058-a091fb867b3df7eda357e216d4d5bbcacac9eb07.zip
add reboot fix from #1312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6563 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx-2.6/files/arch')
-rw-r--r--target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/setup.c b/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/setup.c
index 547c50a737..f7687d4dd1 100644
--- a/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/setup.c
+++ b/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/setup.c
@@ -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();
}