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

Becky Bruce beckyb at kernel.crashing.org
Thu Feb 12 20:54:21 CET 2009


By the way, this patch depends on Kumar's patch: "85xx: Fix how we map  
DDR memory" (which itself depends on some other patches....)

Cheers,
B


On Feb 12, 2009, at 1:47 PM, 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: <beckyb at 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 fabc268..4be226f 100644
> --- a/include/asm-ppc/config.h
> +++ b/include/asm-ppc/config.h
> @@ -23,7 +23,7 @@
>
> #ifndef CONFIG_MAX_MEM_MAPPED
> #if (defined(CONFIG_SDRAM_PPC4xx_IBM_DDR2) &&  
> defined(CONFIG_SPD_EEPROM)) || \
> -	defined(CONFIG_E500)
> +	defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
> #define CONFIG_MAX_MEM_MAPPED	((phys_size_t)2u << 30)
> #else
> #define CONFIG_MAX_MEM_MAPPED	(256 << 20)
> -- 
> 1.5.6.6



More information about the U-Boot mailing list