summaryrefslogtreecommitdiffstats
path: root/arch/mips/gt64120/momenco_ocelot/prom.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-06-05 23:24:07 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-06-05 23:24:07 +0000
commit1385617929e09545f9858785ea3dc1068fedfde1 (patch)
tree728aa64786357d033a263299df97c98b28f31f0c /arch/mips/gt64120/momenco_ocelot/prom.c
parente4598d1f9097360d265a55f468db81d751e29a1d (diff)
Support 512mb RAM configuration for Momenco Ocelot. Patch from
David Woodhouse (dwmw2@infradead.org).
Diffstat (limited to 'arch/mips/gt64120/momenco_ocelot/prom.c')
-rw-r--r--arch/mips/gt64120/momenco_ocelot/prom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/gt64120/momenco_ocelot/prom.c b/arch/mips/gt64120/momenco_ocelot/prom.c
index 6dfadf1fe..73a4a1133 100644
--- a/arch/mips/gt64120/momenco_ocelot/prom.c
+++ b/arch/mips/gt64120/momenco_ocelot/prom.c
@@ -36,8 +36,9 @@ void __init prom_init(int argc, const char **arg)
mips_machgroup = MACH_GROUP_MOMENCO;
mips_machtype = MACH_MOMENCO_OCELOT;
- /* 128MB - we should detect this through ocelot board status register */
- add_memory_region(0, 128 << 20, BOOT_MEM_RAM);
+ /* All the boards have at least 64MiB. If there's more, we
+ detect and register it later */
+ add_memory_region(0, 64 << 20, BOOT_MEM_RAM);
}
void __init prom_free_prom_memory(void)