diff options
Diffstat (limited to 'arch/arm/plat-omap/sram.c')
| -rw-r--r-- | arch/arm/plat-omap/sram.c | 20 | 
1 files changed, 2 insertions, 18 deletions
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index e26e50487d6..9d80064e979 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c @@ -312,7 +312,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, @@ -333,7 +333,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, @@ -405,20 +405,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(); @@ -432,8 +418,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;  }  |