Commit 1ba582a1 authored by Thiemo Seufer's avatar Thiemo Seufer Committed by Ralf Baechle

O2 doesn't have _that_ much RAM.

Signed-off-by: default avatarThiemo Seufer <ths@networkno.de>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent d8f5d861
...@@ -36,8 +36,8 @@ void __init prom_meminit (void) ...@@ -36,8 +36,8 @@ void __init prom_meminit (void)
if (base + size > (256 << 20)) if (base + size > (256 << 20))
base += CRIME_HI_MEM_BASE; base += CRIME_HI_MEM_BASE;
printk("CRIME MC: bank %u base 0x%016lx size %luMB\n", printk("CRIME MC: bank %u base 0x%016lx size %luMiB\n",
bank, base, size); bank, base, size >> 20);
add_memory_region (base, size, BOOT_MEM_RAM); add_memory_region (base, size, BOOT_MEM_RAM);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment