Commit 88b0a2c8 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Fix SRAM sizes for 730 and 1510

The sizes were missing the K multiplier. Based on patch by Nicolas
Schichan.
parent f0be8e0e
......@@ -42,16 +42,16 @@ void __init omap_detect_sram(void)
omap_sram_base = OMAP1_SRAM_BASE;
if (cpu_is_omap730())
omap_sram_size = 0xc8;
omap_sram_size = 0x32000;
else if (cpu_is_omap1510())
omap_sram_size = 0x200;
omap_sram_size = 0x80000;
else if (cpu_is_omap1610() || cpu_is_omap1621() || cpu_is_omap1710())
omap_sram_size = 0x4000;
else if (cpu_is_omap1611())
omap_sram_size = 0x3e800;
else {
printk(KERN_ERR "Could not detect SRAM size\n");
omap_sram_size = 0xc8;
omap_sram_size = 0x4000;
}
printk(KERN_INFO "SRAM size: 0x%lx\n", omap_sram_size);
......
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