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 | 294ec33e476f1964e618442a84dc35677c85b8b5 (patch) | |
tree | 2648da47251f064cb06e0159fee8351fb338f364 /target/linux/brcm63xx | |
parent | 552e298755bc66211fae3748ff5c2ec24d1b199e (diff) | |
download | mtk-20170518-294ec33e476f1964e618442a84dc35677c85b8b5.zip mtk-20170518-294ec33e476f1964e618442a84dc35677c85b8b5.tar.gz mtk-20170518-294ec33e476f1964e618442a84dc35677c85b8b5.tar.bz2 |
fix reboot hang on bcm6345, thanks AndyI
SVN-Revision: 17465
Diffstat (limited to 'target/linux/brcm63xx')
-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 95760ae..6d1ce64 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); } |