aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/sram.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/sram.c')
-rw-r--r--arch/arm/plat-omap/sram.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c
index 68fcc7dc56e..a3f50b34a90 100644
--- a/arch/arm/plat-omap/sram.c
+++ b/arch/arm/plat-omap/sram.c
@@ -316,7 +316,7 @@ u32 omap2_set_prcm(u32 dpll_ctrl_val, u32 sdrc_rfr_val, int bypass)
316} 316}
317#endif 317#endif
318 318
319#ifdef CONFIG_ARCH_OMAP2420 319#ifdef CONFIG_SOC_OMAP2420
320static int __init omap242x_sram_init(void) 320static int __init omap242x_sram_init(void)
321{ 321{
322 _omap2_sram_ddr_init = omap_sram_push(omap242x_sram_ddr_init, 322 _omap2_sram_ddr_init = omap_sram_push(omap242x_sram_ddr_init,
@@ -337,7 +337,7 @@ static inline int omap242x_sram_init(void)
337} 337}
338#endif 338#endif
339 339
340#ifdef CONFIG_ARCH_OMAP2430 340#ifdef CONFIG_SOC_OMAP2430
341static int __init omap243x_sram_init(void) 341static int __init omap243x_sram_init(void)
342{ 342{
343 _omap2_sram_ddr_init = omap_sram_push(omap243x_sram_ddr_init, 343 _omap2_sram_ddr_init = omap_sram_push(omap243x_sram_ddr_init,
@@ -409,20 +409,6 @@ static inline int omap34xx_sram_init(void)
409} 409}
410#endif 410#endif
411 411
412#ifdef CONFIG_ARCH_OMAP4
413static int __init omap44xx_sram_init(void)
414{
415 printk(KERN_ERR "FIXME: %s not implemented\n", __func__);
416
417 return -ENODEV;
418}
419#else
420static inline int omap44xx_sram_init(void)
421{
422 return 0;
423}
424#endif
425
426int __init omap_sram_init(void) 412int __init omap_sram_init(void)
427{ 413{
428 omap_detect_sram(); 414 omap_detect_sram();
@@ -436,8 +422,6 @@ int __init omap_sram_init(void)
436 omap243x_sram_init(); 422 omap243x_sram_init();
437 else if (cpu_is_omap34xx()) 423 else if (cpu_is_omap34xx())
438 omap34xx_sram_init(); 424 omap34xx_sram_init();
439 else if (cpu_is_omap44xx())
440 omap44xx_sram_init();
441 425
442 return 0; 426 return 0;
443} 427}