Some SoC need to configure the bus matrix, add an weak function
to be replace by real function.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
writel(tmp, &pmc->mor);
}
writel(tmp, &pmc->mor);
}
+__weak void matrix_init(void)
+{
+ /* This only be used for sama5d4 soc now */
+}
+
void s_init(void)
{
switch_to_main_crystal_osc();
void s_init(void)
{
switch_to_main_crystal_osc();
at91_clock_init(CONFIG_SYS_AT91_MAIN_CLOCK);
at91_clock_init(CONFIG_SYS_AT91_MAIN_CLOCK);
timer_init();
board_early_init_f();
timer_init();
board_early_init_f();