Ocelot-3 supports 256 MB memory
PATCH 1/1 Ocelot-3 supports 256 MB memory
Hi Ralf,
Small patch for Ocelot-3 to support 256 MB memory. Please apply ...
Thanks
Manish Lachwani
mips/momentum/ocelot_3/setup.c renamed from mips/momentum/ocelot_3/setup.c.orig +2 -2
@@ -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 ; }
Quoted 1 line · Manish Lachwani
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
Quoted 11 lines · Ralf Baechle
Quoted 1 line · Manish Lachwani
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