summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-01-15 22:42:22 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-01-15 22:42:22 +0000
commit5905a48169faba4a528d4485ffd2255df64378a2 (patch)
tree8e8fde60fd0ec4f651a3a5aaaf7a37f6e1b640f6
parent435790e112c245b83c3a4b12895ac786a9744b8d (diff)
downloadmaster-31e0f0ae-5905a48169faba4a528d4485ffd2255df64378a2.tar.gz
master-31e0f0ae-5905a48169faba4a528d4485ffd2255df64378a2.tar.bz2
master-31e0f0ae-5905a48169faba4a528d4485ffd2255df64378a2.zip
allow bcm6338 to get the base address of the memory controller register, required to detect memory size
SVN-Revision: 14047
-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[] = {