mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 06:05:19 +02:00
[brcm63xx] fix reboot hang on bcm6345, thanks AndyI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17465 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
37bd623236
commit
ff4ff7c3a8
@ -73,7 +73,9 @@ void bcm63xx_machine_reboot(void)
|
||||
bcm6348_a1_reboot();
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user