Commit b9b35ade88d5855de0ac3ebc3d66881f799114f9

Authored by Santosh Shilimkar
Committed by Tony Lindgren
1 parent 7050f915c0

omap4: Remove 'FIXME: omap44xx_sram_init not implemented'

The omap44xx_sram_init() implements functionality to push some
code on SRAM whenever the code can't be executed from external
memory. The low power and DVFS code can be executed from
external DDR itself thanks to OMAP4  memory controller hardware
support. So on OMAP4, sram_push kind of functionality isn't needed.

Hence remove the FIXME warning added for implementing sram push
feature on OMAP4.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

Showing 1 changed file with 0 additions and 16 deletions Side-by-side Diff

arch/arm/plat-omap/sram.c
... ... @@ -405,20 +405,6 @@
405 405 }
406 406 #endif
407 407  
408   -#ifdef CONFIG_ARCH_OMAP4
409   -static int __init omap44xx_sram_init(void)
410   -{
411   - printk(KERN_ERR "FIXME: %s not implemented\n", __func__);
412   -
413   - return -ENODEV;
414   -}
415   -#else
416   -static inline int omap44xx_sram_init(void)
417   -{
418   - return 0;
419   -}
420   -#endif
421   -
422 408 int __init omap_sram_init(void)
423 409 {
424 410 omap_detect_sram();
... ... @@ -432,8 +418,6 @@
432 418 omap243x_sram_init();
433 419 else if (cpu_is_omap34xx())
434 420 omap34xx_sram_init();
435   - else if (cpu_is_omap44xx())
436   - omap44xx_sram_init();
437 421  
438 422 return 0;
439 423 }