فهرست منبع

fix reboot hang on bcm6345, thanks AndyI

SVN-Revision: 17465
Florian Fainelli 16 سال پیش
والد
کامیت
294ec33e47
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      target/linux/brcm63xx/files/arch/mips/bcm63xx/setup.c

+ 3 - 1
target/linux/brcm63xx/files/arch/mips/bcm63xx/setup.c

@@ -73,7 +73,9 @@ void bcm63xx_machine_reboot(void)
 		bcm6348_a1_reboot();
 		bcm6348_a1_reboot();
 
 
 	printk(KERN_INFO "triggering watchdog soft-reset...\n");
 	printk(KERN_INFO "triggering watchdog soft-reset...\n");
-	bcm_perf_writel(SYS_PLL_SOFT_RESET, PERF_SYS_PLL_CTL_REG);
+	reg = bcm_perf_readl(PERF_SYS_PLL_CTL_REG);
+	reg |= SYS_PLL_SOFT_RESET;
+	bcm_perf_writel(reg, PERF_SYS_PLL_CTL_REG);
 	while (1);
 	while (1);
 }
 }