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

* [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
  2009-02-12 20:00   ` Jon Loeliger
  0 siblings, 1 reply; 7+ messages in thread
From: Becky Bruce @ 2009-02-12 19:54 UTC (permalink / raw)
  To: u-boot

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@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	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH] MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default
  2009-02-12 19:54 ` Becky Bruce
@ 2009-02-12 20:00   ` Jon Loeliger
  0 siblings, 0 replies; 7+ messages in thread
From: Jon Loeliger @ 2009-02-12 20:00 UTC (permalink / raw)
  To: u-boot

Becky Bruce wrote:
> 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...

Acked-by: Jon Loeliger <jdl@freescale.com>

...so that Andy (?) might pick up the whole lot of them.

Thanks,
jdl

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

* [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-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
  1 sibling, 1 reply; 7+ messages in thread
From: Jon Loeliger @ 2009-02-23 20:46 UTC (permalink / raw)
  To: u-boot

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

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

* [U-Boot] [PATCH] MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default
  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
  1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2009-02-23 21:50 UTC (permalink / raw)
  To: u-boot

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

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

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

* [U-Boot] [PATCH] MPC86xx: set CONFIG_MAX_MEM_MAPPED to 2G by default
  2009-02-23 20:46 ` Jon Loeliger
@ 2009-02-23 21:50   ` Wolfgang Denk
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2009-02-23 21:50 UTC (permalink / raw)
  To: u-boot

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

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

^ permalink raw reply	[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