summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-04-17 18:13:06 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2015-07-23 10:37:20 +0200
commite3cccf9eb2ed6e25d603272719bf0cad5561826c (patch)
tree12129a4a37acf7ecefc73d7e956e1be36dcea2fe /arch/arm/mach-mvebu
parent21427708a654ca7b0af0a2a95bdd6391226b276c (diff)
downloadu-boot-imx-e3cccf9eb2ed6e25d603272719bf0cad5561826c.zip
u-boot-imx-e3cccf9eb2ed6e25d603272719bf0cad5561826c.tar.gz
u-boot-imx-e3cccf9eb2ed6e25d603272719bf0cad5561826c.tar.bz2
arm: mvebu: spl.c: Add call to board_early_init_f()
Pin muxing needs to be done before UART output, since on A38x the UART pins need some re-muxing for output to work. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r--arch/arm/mach-mvebu/spl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c
index ab045b0..e65f6ca 100644
--- a/arch/arm/mach-mvebu/spl.c
+++ b/arch/arm/mach-mvebu/spl.c
@@ -26,6 +26,13 @@ void board_init_f(ulong dummy)
/* Linux expects the internal registers to be at 0xf1000000 */
arch_cpu_init();
+ /*
+ * Pin muxing needs to be done before UART output, since
+ * on A38x the UART pins need some re-muxing for output
+ * to work.
+ */
+ board_early_init_f();
+
preloader_console_init();
timer_init();