From: Tony Lindgren Date: Mon, 5 Sep 2005 07:57:11 +0000 (+0300) Subject: ARM: OMAP: Fix SRAM sizes for 730 and 1510 X-Git-Tag: v2.6.13-omap1~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=88b0a2c826a5be884e7f2017b1bde5ce1414cf71;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fix SRAM sizes for 730 and 1510 The sizes were missing the K multiplier. Based on patch by Nicolas Schichan. --- diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index e7e07b4c961..7719a4062e3 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c @@ -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);