diff options
author | Bo Shen <voice.shen@atmel.com> | 2014-12-15 13:24:31 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2015-02-07 23:42:46 +0100 |
commit | 4514b5f46a27df0843a8504273ee0cb0749ea86e (patch) | |
tree | a5611403639f15659aaf757d07395c5149a264f2 /arch/arm/cpu | |
parent | 433be902f3a7e8b40b349e3d9dacdf0a69982ede (diff) | |
download | u-boot-imx-4514b5f46a27df0843a8504273ee0cb0749ea86e.zip u-boot-imx-4514b5f46a27df0843a8504273ee0cb0749ea86e.tar.gz u-boot-imx-4514b5f46a27df0843a8504273ee0cb0749ea86e.tar.bz2 |
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: Bo Shen <voice.shen@atmel.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/at91-common/spl_atmel.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/at91-common/spl_atmel.c b/arch/arm/cpu/at91-common/spl_atmel.c index 9cb5770..fdea466 100644 --- a/arch/arm/cpu/at91-common/spl_atmel.c +++ b/arch/arm/cpu/at91-common/spl_atmel.c @@ -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(); |