summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx
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 /target/linux/brcm63xx
parent435790e112c245b83c3a4b12895ac786a9744b8d (diff)
downloadmtk-20170518-5905a48169faba4a528d4485ffd2255df64378a2.zip
mtk-20170518-5905a48169faba4a528d4485ffd2255df64378a2.tar.gz
mtk-20170518-5905a48169faba4a528d4485ffd2255df64378a2.tar.bz2
allow bcm6338 to get the base address of the memory controller register, required to detect memory size
SVN-Revision: 14047
Diffstat (limited to 'target/linux/brcm63xx')
-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 b7c041f..82a77c4 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[] = {