From: Tony Lindgren Date: Tue, 20 Sep 2005 07:35:03 +0000 (+0300) Subject: ARM: OMAP: Fix typo in SRAM detection, change to use cpu_is_omap15xx() X-Git-Tag: v2.6.15-omap2~207^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=78e8c376508695f2c0b31be993988fb5efd8d980;p=linux-2.6-omap-h63xx.git ARM: OMAP: Fix typo in SRAM detection, change to use cpu_is_omap15xx() Fixed a typo in SRAM detection for 330 and changed the detection to use cpu_is_omap15xx() as noted by Gonzales Laurent. --- diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index 4680108e015..dc3d6641e28 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c @@ -42,10 +42,8 @@ void __init omap_detect_sram(void) omap_sram_base = OMAP1_SRAM_BASE; if (cpu_is_omap730()) - omap_sram_size = 0x30000; - else if (cpu_is_omap730()) omap_sram_size = 0x32000; - else if (cpu_is_omap1510()) + else if (cpu_is_omap15xx()) omap_sram_size = 0x30000; else if (cpu_is_omap1610() || cpu_is_omap1621() || cpu_is_omap1710()) omap_sram_size = 0x4000;