[PATCH 3/3] freescale-mx*5-3-stack : fix __flash_header_start

Sascha Hauer s.hauer at pengutronix.de
Mon May 17 05:17:23 EDT 2010


On Thu, May 13, 2010 at 02:36:47PM +0200, Eric Benard wrote:
> _start is now exception_vectors since it was rewritten in C
> (not tested on these boards but compile should fail without
> this patch)

Ok, applied to -master.

Sascha

> 
> Signed-off-by: Eric Benard <eric at eukrea.com>
> ---
>  board/freescale-mx25-3-stack/3stack.c       |    2 +-
>  board/freescale-mx35-3-stack/flash_header.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/board/freescale-mx25-3-stack/3stack.c b/board/freescale-mx25-3-stack/3stack.c
> index 5b802ad..f5316bf 100644
> --- a/board/freescale-mx25-3-stack/3stack.c
> +++ b/board/freescale-mx25-3-stack/3stack.c
> @@ -41,7 +41,7 @@ extern unsigned long _stext;
>  
>  void __naked __flash_header_start go(void)
>  {
> -	__asm__ __volatile__("b _start\n");
> +	__asm__ __volatile__("b exception_vectors\n");
>  }
>  
>  struct imx_dcd_entry __dcd_entry_0x400 dcd_entry[] = {
> diff --git a/board/freescale-mx35-3-stack/flash_header.c b/board/freescale-mx35-3-stack/flash_header.c
> index 968a948..171c499 100644
> --- a/board/freescale-mx35-3-stack/flash_header.c
> +++ b/board/freescale-mx35-3-stack/flash_header.c
> @@ -5,7 +5,7 @@ extern unsigned long _stext;
>  
>  void __naked __flash_header_start go(void)
>  {
> -	__asm__ __volatile__("b _start\n");
> +	__asm__ __volatile__("b exception_vectors\n");
>  }
>  
>  struct imx_dcd_entry __dcd_entry_0x400 dcd_entry[] = {
> -- 
> 1.6.3.3
> 
> 
> _______________________________________________
> 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