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

Sascha Hauer s.hauer at pengutronix.de
Thu Jun 21 05:41:17 EDT 2012


On Thu, Jun 21, 2012 at 12:05:03PM +0400, Alexander Shiyan wrote:

<please put the reason of this change here>

Sascha

> 
> 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
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list