From 78e8c376508695f2c0b31be993988fb5efd8d980 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Tue, 20 Sep 2005 10:35:03 +0300 Subject: [PATCH] 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. --- arch/arm/plat-omap/sram.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.41.1