diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2012-07-24 10:33:12 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-07-24 10:33:12 -0400 |
commit | e5766aea5b9b7519654261c27b639f567b5415b4 (patch) | |
tree | a4c9cab5c07e5656d0199871e348765fb8a0269d /arch/mips/bcm63xx/prom.c | |
parent | 288752a8aa1be6cf89ee5066435a617efd97fb86 (diff) |
MIPS: BCM63XX: Add basic BCM6328 support
This includes CPU speed, memory size detection and working UART, but
lacking the appropriate drivers, no support for attached flash.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Maxime Bizon <mbizon@freebox.fr>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/3951/
Reviewed-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm63xx/prom.c')
-rw-r--r-- | arch/mips/bcm63xx/prom.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/bcm63xx/prom.c b/arch/mips/bcm63xx/prom.c index 99d7f405cbeb..10eaff458071 100644 --- a/arch/mips/bcm63xx/prom.c +++ b/arch/mips/bcm63xx/prom.c | |||
@@ -26,7 +26,9 @@ void __init prom_init(void) | |||
26 | bcm_wdt_writel(WDT_STOP_2, WDT_CTL_REG); | 26 | bcm_wdt_writel(WDT_STOP_2, WDT_CTL_REG); |
27 | 27 | ||
28 | /* disable all hardware blocks clock for now */ | 28 | /* disable all hardware blocks clock for now */ |
29 | if (BCMCPU_IS_6338()) | 29 | if (BCMCPU_IS_6328()) |
30 | mask = CKCTL_6328_ALL_SAFE_EN; | ||
31 | else if (BCMCPU_IS_6338()) | ||
30 | mask = CKCTL_6338_ALL_SAFE_EN; | 32 | mask = CKCTL_6338_ALL_SAFE_EN; |
31 | else if (BCMCPU_IS_6345()) | 33 | else if (BCMCPU_IS_6345()) |
32 | mask = CKCTL_6345_ALL_SAFE_EN; | 34 | mask = CKCTL_6345_ALL_SAFE_EN; |