]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: BCM63xx: Fix SDRAM size computation for BCM6345
authorFlorian Fainelli <florian@openwrt.org>
Wed, 16 Nov 2011 19:10:36 +0000 (20:10 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 24 Nov 2011 10:42:33 +0000 (10:42 +0000)
commit274b233b399d71042e1cfd2e787802daf18d69fe
tree5c6f706339d546652234d5c2797d47d77664c3bf
parent828ae7e614cc857b83e0ccf2ee3eda472b8eb4e9
MIPS: BCM63xx: Fix SDRAM size computation for BCM6345

Instead of hardcoding the amount of available RAM, read the number of
effective multiples of 8MB from SDRAM_MBASE_REG.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3008/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm63xx/cpu.c
arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h