提交 24daa15a 编写于 作者: P Petr Štetiar 提交者: Russell King

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: NH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: NPetr Štetiar <ynezz@true.cz>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 140d5dc1
...@@ -192,7 +192,11 @@ static struct tagtable __tagtable_##fn __tag = { tag, fn } ...@@ -192,7 +192,11 @@ static struct tagtable __tagtable_##fn __tag = { tag, fn }
/* /*
* Memory map description * Memory map description
*/ */
#define NR_BANKS 8 #ifdef CONFIG_ARCH_EP93XX
# define NR_BANKS 16
#else
# define NR_BANKS 8
#endif
struct membank { struct membank {
phys_addr_t start; phys_addr_t start;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册