ARM: 6997/1: ep93xx: increase NR_BANKS to 16 for support of 128MB RAM
commit24daa15aabaf9ef655f7ca868366c8a4c87397f3
authorPetr Štetiar <ynezz@true.cz>
Sat, 9 Jul 2011 13:18:36 +0000 (9 14:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 22 Jul 2011 09:16:27 +0000 (22 10:16 +0100)
tree7bb7f97fa7136c5071151c03361d45de479ab929
parent140d5dc1d7d86d766951b7a9aef5b66f1dfdfae2
ARM: 6997/1: ep93xx: increase NR_BANKS to 16 for support of 128MB RAM

I've got hands on one ts-7300 board, which is equiped with 128MB RAM in two
64MB memory chips, so it's 16 banks/8MB each. Without this patch, the bootmem
init code complains about small NR_BANKS number and only lower 64MB is
accessible.

Cc: Ryan Mallon <ryan@bluewatersys.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/setup.h