I have a query regarding x-loader muxing.It is said that x-loader does the pin muxing . So i looked in board folder in x loader and there are many board files.
My specific board contains one function s_init which do this,
/**********************************************************
* Routine: s_init
* Description: Does early system init of muxing and clocks.
* - Called at time when only stack is available.
**********************************************************/
void s_init(void)
{
watchdog_init();
#ifdef CONFIG_3430_AS_3410
/* setup the scalability control register for
* 3430 to work in 3410 mode
*/
__raw_writel(0x5ABF,CONTROL_SCALABLE_OMAP_OCP);
#endif
try_unlock_memory();
set_muxconf_regs();
delay(100);
prcm_init();
per_clocks_enable();
config_3430sdram_ddr();
}
I want to know who call this function as no one in x-loader / board / omap3evm / omap3evm.c is calling this function.