From 88b0a2c826a5be884e7f2017b1bde5ce1414cf71 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Mon, 5 Sep 2005 10:57:11 +0300 Subject: [PATCH] ARM: OMAP: Fix SRAM sizes for 730 and 1510 The sizes were missing the K multiplier. Based on patch by Nicolas Schichan. --- arch/arm/plat-omap/sram.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.41.1