1,381
edits
Changes
no edit summary
== C Execution Flow<br> ==
=== s_init<br> ===
Function: [http://git.igep.es/?p=pub/scm/igep-x-loader.git;a=blob;f=board/igep0020/igep0020.c s_init]<br>
This function it's responsable to do the basic board (processor) initialization. It's called before the "C" generic initialization code.<br>
<pre> 874 /**********************************************************
875 * Routine: s_init
876 * Description: Does early system init of muxing and clocks.
877 * - Called at time when only stack is available.
878 **********************************************************/
879 void s_init(void)
880 {
881 watchdog_init();
882 try_unlock_memory();
883 set_muxconf_regs();
884 delay(100);
885 prcm_init();
886 per_clocks_enable();
887 gpmc_init ();
888 config_multichip_package();
889 }
</pre>
This function set the PLL clocks, MUX settings, GPMC configuration and memory configuration.
=== cpu_init<br> ===