linux-mips
[Top] [All Lists]

[PATCH] Ocelot-3 supports 256 MB memory

To: linux-mips@linux-mips.org
Subject: [PATCH] Ocelot-3 supports 256 MB memory
From: Manish Lachwani <mlachwani@mvista.com>
Date: Mon, 6 Dec 2004 13:27:20 -0800
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
Hi Ralf,

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

Thanks
Manish Lachwani

--- 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;
 }
<Prev in Thread] Current Thread [Next in Thread>