ARM: OMAP: Don't do anything in sram_init for now
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Tue, 3 Jan 2012 12:51:46 +0000 (18:21 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:45 +0000 (00:44 +0530)
Needs to be merged with 45cd51a8e934bd996963a6de582ae43947c7ff28
(arm:omap: Add SRAM support for AM33xx)

Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
arch/arm/plat-omap/sram.c

index 46378a22f6be99d3e89178623e75d0b08d428749..ff0b66f1b285b7541454a4b54552889139004124 100644 (file)
@@ -374,7 +374,7 @@ int __init omap_sram_init(void)
                omap243x_sram_init();
        else if (cpu_is_omap34xx() && !cpu_is_am33xx())
                omap34xx_sram_init();
                omap243x_sram_init();
        else if (cpu_is_omap34xx() && !cpu_is_am33xx())
                omap34xx_sram_init();
-       else if (!cpu_is_am33xx())
+       else if (cpu_is_am33xx())
                am33xx_sram_init();
 
        return 0;
                am33xx_sram_init();
 
        return 0;