Skip to contentSkip to conversation

MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default

PATCH New Becky Bruce 3 participants 4 messages Feb 23, 2009

lore
Share & tools
lore
#0 lore raw

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
index 275a7c8..0900f65 100644
@@ -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)
Signature · 1 line
1.5.6.6
#2 lore raw

PATCH 1/1 MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default

Dear Jon Loeliger,

Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 4 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.

Quoted 8 lines
Quoted 2 lines

---

Oh, OK, consider it...

for real.

Thanks, Jon!

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Bus error -- driver executed.
#3 lore raw

PATCH 1/1 MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default

In reply to Becky Bruce

Dear Becky Bruce,

Quoted 8 lines · In message <[email protected]> you…

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(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Killing is stupid; useless!
	-- McCoy, "A Private Little War", stardate 4211.8