diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-03-21 10:50:44 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-03-21 10:50:44 +0000 |
commit | a35170087ec80a499bf6606c2d33d2a3032cb564 (patch) | |
tree | fd2bb8b792e746a57cb3ab421c498d917407f7bd /target/linux/brcm63xx/files/arch | |
parent | 67958030c9776cb196e5b8408843de58c087a86d (diff) | |
download | upstream-a35170087ec80a499bf6606c2d33d2a3032cb564.tar.gz upstream-a35170087ec80a499bf6606c2d33d2a3032cb564.tar.bz2 upstream-a35170087ec80a499bf6606c2d33d2a3032cb564.zip |
[brcm63xx] enable all blocks on 6338 and uart clock on 6345
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14957 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/files/arch')
-rw-r--r-- | target/linux/brcm63xx/files/arch/mips/bcm63xx/prom.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/prom.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/prom.c index d97ceed020..db0ef555a8 100644 --- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/prom.c +++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/prom.c @@ -25,7 +25,11 @@ void __init prom_init(void) bcm_wdt_writel(WDT_STOP_2, WDT_CTL_REG); /* disable all hardware blocks clock for now */ - if (BCMCPU_IS_6348()) + if (BCMCPU_IS_6338()) + mask = CKCTL_6338_ALL_SAFE_EN; + else if (BCMCPU_IS_6345()) + mask = CKCTL_6345_UART_EN; + else if (BCMCPU_IS_6348()) mask = CKCTL_6348_ALL_SAFE_EN; else /* BCMCPU_IS_6358() */ |