summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-15 22:42:22 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-15 22:42:22 +0000
commitecbc6078029dda1ccd463a15dba7ea11b6665276 (patch)
tree0762baea322d47d12e18d5976cb1130b793d94da
parent41d1c1b1e03ecf06af53cc33fa45e9ff39e7149f (diff)
[brcm63xx] allow bcm6338 to get the base address of the memory controller register, required to detect memory size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14047 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c
index b7c041f60d..82a77c48e6 100644
--- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c
+++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c
@@ -36,6 +36,7 @@ static const unsigned long bcm96338_regs_base[] = {
[RSET_UART0] = BCM_6338_UART0_BASE,
[RSET_GPIO] = BCM_6338_GPIO_BASE,
[RSET_SPI] = BCM_6338_SPI_BASE,
+ [RSET_MEMC] = BCM_6338_MEMC_BASE,
};
static const int bcm96338_irqs[] = {