All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Ocelot-3 supports 256 MB memory
@ 2004-12-06 21:27 Manish Lachwani
  2004-12-06 21:43 ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Manish Lachwani @ 2004-12-06 21:27 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 103 bytes --]

Hi Ralf,

Small patch for Ocelot-3 to support 256 MB memory. Please apply ...

Thanks
Manish Lachwani


[-- Attachment #2: patch-ocelot3-mem --]
[-- Type: text/plain, Size: 521 bytes --]

--- arch/mips/momentum/ocelot_3/setup.c.orig	2004-12-06 13:18:44.000000000 -0800
+++ arch/mips/momentum/ocelot_3/setup.c	2004-12-06 13:18:57.000000000 -0800
@@ -390,8 +390,8 @@
 	printk("  - Boot flash write jumper: %s\n", (tmpword&0x40)?"installed":"absent");
 	printk("  - L3 cache size: %d MB\n", (1<<((tmpword&12) >> 2))&~1);
 
-	/* Support for 128 MB memory */
-	add_memory_region(0x0, 0x08000000, BOOT_MEM_RAM);
+	/* Support for 256 MB memory */
+	add_memory_region(0x0, 0x10000000, BOOT_MEM_RAM);
 
 	return 0;
 }

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

* Re: [PATCH] Ocelot-3 supports 256 MB memory
  2004-12-06 21:27 [PATCH] Ocelot-3 supports 256 MB memory Manish Lachwani
@ 2004-12-06 21:43 ` Ralf Baechle
  2004-12-06 21:52   ` Manish Lachwani
  0 siblings, 1 reply; 3+ messages in thread
From: Ralf Baechle @ 2004-12-06 21:43 UTC (permalink / raw)
  To: Manish Lachwani; +Cc: linux-mips

On Mon, Dec 06, 2004 at 01:27:20PM -0800, Manish Lachwani wrote:

> Small patch for Ocelot-3 to support 256 MB memory. Please apply ...

Does this board really have a fixed memory configuration?  If not we should
use a safe default, the minimum configuration.  Or probe which obviously
is the right thing to do.

  Ralf

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

* Re: [PATCH] Ocelot-3 supports 256 MB memory
  2004-12-06 21:43 ` Ralf Baechle
@ 2004-12-06 21:52   ` Manish Lachwani
  0 siblings, 0 replies; 3+ messages in thread
From: Manish Lachwani @ 2004-12-06 21:52 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips

Ralf Baechle wrote:
> On Mon, Dec 06, 2004 at 01:27:20PM -0800, Manish Lachwani wrote:
> 
> 
>>Small patch for Ocelot-3 to support 256 MB memory. Please apply ...
> 
> 
> Does this board really have a fixed memory configuration?  If not we should
> use a safe default, the minimum configuration.  Or probe which obviously
> is the right thing to do.
> 
>   Ralf

Probing is a better idea. Let me put that together and send another patch

Thanks
Manish Lachwani

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

end of thread, other threads:[~2004-12-06 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-06 21:27 [PATCH] Ocelot-3 supports 256 MB memory Manish Lachwani
2004-12-06 21:43 ` Ralf Baechle
2004-12-06 21:52   ` Manish Lachwani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.