]> git.sur5r.net Git - u-boot/commitdiff
MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default
authorBecky Bruce <beckyb@kernel.crashing.org>
Mon, 23 Feb 2009 19:56:51 +0000 (13:56 -0600)
committerWolfgang Denk <wd@denx.de>
Mon, 23 Feb 2009 21:50:05 +0000 (22:50 +0100)
Currently, we get 256MB as the default, but since all the 86xx
board configs define a 2G BAT mapping for RAM, raise default
to 2G.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Acked-by: Jon Loeliger <jdl@freescale.com>
include/asm-ppc/config.h

index 275a7c828c6b89a070952c048d9625d60407fb1a..0900f65b96f3c85faa508aae0b030c27e7f81a8f 100644 (file)
@@ -22,7 +22,7 @@
 #define _ASM_CONFIG_H_
 
 #ifndef CONFIG_MAX_MEM_MAPPED
-#if defined(CONFIG_4xx) || defined(CONFIG_E500)
+#if defined(CONFIG_4xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
 #define CONFIG_MAX_MEM_MAPPED  ((phys_size_t)2 << 30)
 #else
 #define CONFIG_MAX_MEM_MAPPED  (256 << 20)