aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/arch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-06-26 11:08:12 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-06-26 11:08:12 +0000
commit8c4137900ccec1c1dbfaa0cde60177bc0d59f7bc (patch)
tree414766c5e9fcfca1ebfc66ee71b5d027ed0f1768 /target/linux/brcm63xx/files/arch
parent45c25ff988ecfe5ef51d8901b329b5b1f9c66670 (diff)
downloadupstream-8c4137900ccec1c1dbfaa0cde60177bc0d59f7bc.tar.gz
upstream-8c4137900ccec1c1dbfaa0cde60177bc0d59f7bc.tar.bz2
upstream-8c4137900ccec1c1dbfaa0cde60177bc0d59f7bc.zip
define bcm6338 SDRAM base register and make sure that the right CPU id will be used to detect a bcm6338
SVN-Revision: 16567
Diffstat (limited to 'target/linux/brcm63xx/files/arch')
-rw-r--r--target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c
index bc7ed50f89..f94a5c2a0d 100644
--- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c
+++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c
@@ -40,6 +40,7 @@ static const unsigned long bcm96338_regs_base[] = {
[RSET_UDC0] = BCM_6338_UDC0_BASE,
[RSET_UART0] = BCM_6338_UART0_BASE,
[RSET_GPIO] = BCM_6338_GPIO_BASE,
+ [RSET_SDRAM] = BCM_6338_SDRAM_BASE,
[RSET_SPI] = BCM_6338_SPI_BASE,
[RSET_MEMC] = BCM_6338_MEMC_BASE,
};
@@ -310,7 +311,7 @@ void __init bcm63xx_cpu_init(void)
expected_cpu_id = 0;
switch (c->cputype) {
- case CPU_BCM6338:
+ case CPU_BCM3302:
expected_cpu_id = BCM6338_CPU_ID;
bcm63xx_regs_base = bcm96338_regs_base;
bcm63xx_irqs = bcm96338_irqs;