MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default
PATCH 1/1 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.
--- include/asm-ppc/config.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-ppc/config.h +1 -1
@@ -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)
Signature · 1 line
1.5.6.6
PATCH 1/1 MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default
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
Quoted 25 lines · Becky Bruce
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 <[email protected]>---
include/asm-ppc/config.h| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)include/asm-ppc/config.h +1
-1@@ -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)Signature · 1 line
1.5.6.6
PATCH 1/1 MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default
Quoted 5 lines · Becky Bruce
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
OK. So, consider these 86xx patches...
...so that Andy (?) might pick up the whole lot of them.
Thanks,
jdl