diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-09-02 08:32:00 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-09-02 08:32:00 +0000 |
commit | af3d584ce7f5479f0414710380b964c6731a52db (patch) | |
tree | 7b6a7cf683f5e6aa7b4326a06151e0cd4177ff4a /target/linux | |
parent | 227fb2c5d2c23ada8f83f28f6c6e6cb91b0166a6 (diff) | |
download | upstream-af3d584ce7f5479f0414710380b964c6731a52db.tar.gz upstream-af3d584ce7f5479f0414710380b964c6731a52db.tar.bz2 upstream-af3d584ce7f5479f0414710380b964c6731a52db.zip |
[brcm63xx] fix reboot hang on bcm6345, thanks AndyI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17465 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/brcm63xx/files/arch/mips/bcm63xx/setup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/setup.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/setup.c index 95760ae44a..6d1ce6442e 100644 --- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/setup.c +++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/setup.c @@ -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); } |