Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24daa15a authored by Petr Štetiar's avatar Petr Štetiar Committed by Russell King
Browse files

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 140d5dc1
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -192,7 +192,11 @@ static struct tagtable __tagtable_##fn __tag = { tag, fn }
/*
 * Memory map description
 */
#ifdef CONFIG_ARCH_EP93XX
# define NR_BANKS 16
#else
# define NR_BANKS 8
#endif

struct membank {
	phys_addr_t start;