]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix typo in SRAM detection, change to use cpu_is_omap15xx()
authorTony Lindgren <tony@atomide.com>
Tue, 20 Sep 2005 07:35:03 +0000 (10:35 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 20 Sep 2005 07:35:03 +0000 (10:35 +0300)
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

index 4680108e0159fafda7b868b3916a29d55bc7921d..dc3d6641e28cc2283c86e652c45c6563c3beaf6b 100644 (file)
@@ -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;