Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / plat-omap / sram.c
index 68fcc7dc56e7a4b4acf849f392e3320211822ba9..a3f50b34a90d3ffed85c0fcd4bc6baad080df7cd 100644 (file)
@@ -316,7 +316,7 @@ u32 omap2_set_prcm(u32 dpll_ctrl_val, u32 sdrc_rfr_val, int bypass)
 }
 #endif
 
-#ifdef CONFIG_ARCH_OMAP2420
+#ifdef CONFIG_SOC_OMAP2420
 static int __init omap242x_sram_init(void)
 {
        _omap2_sram_ddr_init = omap_sram_push(omap242x_sram_ddr_init,
@@ -337,7 +337,7 @@ static inline int omap242x_sram_init(void)
 }
 #endif
 
-#ifdef CONFIG_ARCH_OMAP2430
+#ifdef CONFIG_SOC_OMAP2430
 static int __init omap243x_sram_init(void)
 {
        _omap2_sram_ddr_init = omap_sram_push(omap243x_sram_ddr_init,
@@ -409,20 +409,6 @@ static inline int omap34xx_sram_init(void)
 }
 #endif
 
-#ifdef CONFIG_ARCH_OMAP4
-static int __init omap44xx_sram_init(void)
-{
-       printk(KERN_ERR "FIXME: %s not implemented\n", __func__);
-
-       return -ENODEV;
-}
-#else
-static inline int omap44xx_sram_init(void)
-{
-       return 0;
-}
-#endif
-
 int __init omap_sram_init(void)
 {
        omap_detect_sram();
@@ -436,8 +422,6 @@ int __init omap_sram_init(void)
                omap243x_sram_init();
        else if (cpu_is_omap34xx())
                omap34xx_sram_init();
-       else if (cpu_is_omap44xx())
-               omap44xx_sram_init();
 
        return 0;
 }