[PATCH 2/2] mx51-pdk: Move lowlevel_init before UART initialization

Alexander Shiyan shc_work at mail.ru
Thu Jun 21 04:05:03 EDT 2012


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/boards/freescale-mx51-pdk/board.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boards/freescale-mx51-pdk/board.c b/arch/arm/boards/freescale-mx51-pdk/board.c
index 9ec331a..18c21ce 100644
--- a/arch/arm/boards/freescale-mx51-pdk/board.c
+++ b/arch/arm/boards/freescale-mx51-pdk/board.c
@@ -246,7 +246,6 @@ static int f3s_devices_init(void)
 	babbage_power_init();
 
 	console_flush();
-	imx51_init_lowlevel(800);
 	clock_notifier_call_chain();
 
 	imx51_iim_register_fec_ethaddr();
@@ -274,6 +273,8 @@ static int f3s_console_init(void)
 {
 	mxc_iomux_v3_setup_multiple_pads(f3s_pads, ARRAY_SIZE(f3s_pads));
 
+	imx51_init_lowlevel(800);
+
 	imx51_add_uart0();
 
 	return 0;
-- 
1.7.3.4




More information about the barebox mailing list