projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abb4408
)
ARM: atmel: spl: add weak bus matrix init function
author
Bo Shen
<voice.shen@atmel.com>
Mon, 15 Dec 2014 05:24:30 +0000
(13:24 +0800)
committer
Andreas Bießmann
<andreas.devel@googlemail.com>
Sat, 7 Feb 2015 22:42:45 +0000
(23:42 +0100)
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>
arch/arm/cpu/at91-common/spl_atmel.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/at91-common/spl_atmel.c
b/arch/arm/cpu/at91-common/spl_atmel.c
index 7297530e7dd1ab9855039a38442e0ea0a1a3239e..9cb57708526d8268b121b682039c3bbaab63d3e7 100644
(file)
--- a/
arch/arm/cpu/at91-common/spl_atmel.c
+++ b/
arch/arm/cpu/at91-common/spl_atmel.c
@@
-58,6
+58,11
@@
static void switch_to_main_crystal_osc(void)
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();
@@
-70,6
+75,8
@@
void s_init(void)
at91_clock_init(CONFIG_SYS_AT91_MAIN_CLOCK);
+ matrix_init();
+
timer_init();
board_early_init_f();