Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9b35ade authored by Santosh Shilimkar's avatar Santosh Shilimkar Committed by Tony Lindgren
Browse files

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: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 7050f915
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -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;
}