Patchwork [U-Boot] Fix: brocken boot message at serial line on AT91SAM9263-EK board

login
register
mail settings
Submitter esw@bus-elektronik.de
Date March 19, 2012, 2:25 p.m.
Message ID <1332167159-8916-1-git-send-email-esw@bus-elektronik.de>
Download mbox | patch
Permalink /patch/147534/
State Accepted
Commit 2feb73666174518e50364f76966af8b291cb6fa7
Delegated to: Andreas Bießmann
Headers show

Comments

esw@bus-elektronik.de - March 19, 2012, 2:25 p.m.
Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
---
 board/atmel/at91sam9263ek/at91sam9263ek.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Andreas Bießmann - June 28, 2012, 12:07 p.m.
Dear Jens Scharsig,

On 19.03.2012 15:25, Jens Scharsig (BuS Elektronik) wrote:
> 
> Signed-off-by: Jens Scharsig (BuS Elektronik) <esw@bus-elektronik.de>
> ---
>  board/atmel/at91sam9263ek/at91sam9263ek.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/board/atmel/at91sam9263ek/at91sam9263ek.c b/board/atmel/at91sam9263ek/at91sam9263ek.c
> index 41ec752..60ff1c0 100644
> --- a/board/atmel/at91sam9263ek/at91sam9263ek.c
> +++ b/board/atmel/at91sam9263ek/at91sam9263ek.c
> @@ -254,6 +254,7 @@ int board_early_init_f(void)
>  		(1 << ATMEL_ID_PIOCDE),
>  		&pmc->pcer);
>  
> +	at91_seriald_hw_init();
>  	return 0;
>  }
>  
> @@ -267,7 +268,6 @@ int board_init(void)
>  	/* adress of boot parameters */
>  	gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
>  
> -	at91_seriald_hw_init();
>  #ifdef CONFIG_CMD_NAND
>  	at91sam9263ek_nand_hw_init();
>  #endif
> 


applied to u-boot-atmel/master, thanks!

Best regards

Andreas Bießmann

Patch

diff --git a/board/atmel/at91sam9263ek/at91sam9263ek.c b/board/atmel/at91sam9263ek/at91sam9263ek.c
index 41ec752..60ff1c0 100644
--- a/board/atmel/at91sam9263ek/at91sam9263ek.c
+++ b/board/atmel/at91sam9263ek/at91sam9263ek.c
@@ -254,6 +254,7 @@  int board_early_init_f(void)
 		(1 << ATMEL_ID_PIOCDE),
 		&pmc->pcer);
 
+	at91_seriald_hw_init();
 	return 0;
 }
 
@@ -267,7 +268,6 @@  int board_init(void)
 	/* adress of boot parameters */
 	gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
 
-	at91_seriald_hw_init();
 #ifdef CONFIG_CMD_NAND
 	at91sam9263ek_nand_hw_init();
 #endif