public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default
@ 2009-02-23 19:56 Becky Bruce
  2009-02-23 20:46 ` Jon Loeliger
  2009-02-23 21:50 ` Wolfgang Denk
  0 siblings, 2 replies; 7+ messages in thread
From: Becky Bruce @ 2009-02-23 19:56 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [U-Boot] [PATCH] MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default
@ 2009-02-12 19:47 Becky Bruce
  2009-02-12 19:54 ` Becky Bruce
  0 siblings, 1 reply; 7+ messages in thread
From: Becky Bruce @ 2009-02-12 19:47 UTC (permalink / raw)
  To: u-boot

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@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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-02-23 21:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-23 19:56 [U-Boot] [PATCH] MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default Becky Bruce
2009-02-23 20:46 ` Jon Loeliger
2009-02-23 21:50   ` Wolfgang Denk
2009-02-23 21:50 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2009-02-12 19:47 Becky Bruce
2009-02-12 19:54 ` Becky Bruce
2009-02-12 20:00   ` Jon Loeliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox