[U-Boot] [PATCH] MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default

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 --- include/asm-ppc/config.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-ppc/config.h b/include/asm-ppc/config.h index 275a7c8..0900f65 100644 --- a/include/asm-ppc/config.h +++ b/include/asm-ppc/config.h @@ -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)

Becky Bruce wrote:
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
Oh, OK, consider it...
Acked-by: Jon Loeliger jdl@freescale.com
for real.
Thanks, jdl

Dear Jon Loeliger,
In message 49A30B1C.700@freescale.com you wrote:
Becky Bruce wrote:
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
Oh, OK, consider it...
Acked-by: Jon Loeliger jdl@freescale.com
for real.
Thanks, Jon!
Best regards,
Wolfgang Denk

Dear Becky Bruce,
In message 1235419011-22472-1-git-send-email-beckyb@kernel.crashing.org you wrote:
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
include/asm-ppc/config.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
participants (3)
-
Becky Bruce
-
Jon Loeliger
-
Wolfgang Denk