Skip to content
Snippets Groups Projects
Commit 4514b5f4 authored by Bo Shen's avatar Bo Shen Committed by Andreas Bießmann
Browse files

ARM: atmel: spl: add saic to aic redirect function


Some SoC need to redirect the saic to aic to make the interrupt to
work, here add a weak function to be replaced by real function.

Signed-off-by: default avatarBo Shen <voice.shen@atmel.com>
parent 433be902
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,11 @@ __weak void matrix_init(void)
/* This only be used for sama5d4 soc now */
}
__weak void redirect_int_from_saic_to_aic(void)
{
/* This only be used for sama5d4 soc now */
}
void s_init(void)
{
switch_to_main_crystal_osc();
......@@ -77,6 +82,8 @@ void s_init(void)
matrix_init();
redirect_int_from_saic_to_aic();
timer_init();
board_early_init_f();
......
......@@ -33,5 +33,6 @@ void at91_mck_init(u32 mckr);
void at91_spl_board_init(void);
void at91_disable_wdt(void);
void matrix_init(void);
void redirect_int_from_saic_to_aic(void);
#endif /* AT91_COMMON_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment