[PATCH 01/11] regression: reset can not return

Sascha Hauer s.hauer at pengutronix.de
Sun Oct 7 05:42:52 EDT 2012


On Sat, Oct 06, 2012 at 12:33:03AM +0200, vj wrote:
> 
> Signed-off-by: vj <vicencb at gmail.com>

Applied to master.

Thanks
 Sascha

> ---
>  arch/arm/boards/friendlyarm-tiny210/lowlevel.c | 2 +-
>  arch/arm/boards/panda/lowlevel.c               | 2 +-
>  arch/arm/boards/pcm049/lowlevel.c              | 2 +-
>  arch/arm/boards/phycard-a-xl2/lowlevel.c       | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/boards/friendlyarm-tiny210/lowlevel.c b/arch/arm/boards/friendlyarm-tiny210/lowlevel.c
> index 791918a..695f97d 100644
> --- a/arch/arm/boards/friendlyarm-tiny210/lowlevel.c
> +++ b/arch/arm/boards/friendlyarm-tiny210/lowlevel.c
> @@ -61,7 +61,7 @@ void __bare_init reset(void)
>  #endif
>  
>  	if (get_pc() < 0xD0000000) /* Are we running from iRAM? */
> -		return; /* No, we don't. */
> +		board_init_lowlevel_return(); /* No, we don't. */
>  
>  	s5p_init_dram_bank_ddr2(S5P_DMC0_BASE, 0x20E00323, 0, 0);
>  
> diff --git a/arch/arm/boards/panda/lowlevel.c b/arch/arm/boards/panda/lowlevel.c
> index 3a24148..33d06be 100644
> --- a/arch/arm/boards/panda/lowlevel.c
> +++ b/arch/arm/boards/panda/lowlevel.c
> @@ -81,7 +81,7 @@ void reset(void)
>  	common_reset();
>  
>  	if (get_pc() > 0x80000000)
> -		return;
> +		board_init_lowlevel_return();
>  
>  	r = 0x4030d000;
>  	__asm__ __volatile__("mov sp, %0" : : "r"(r));
> diff --git a/arch/arm/boards/pcm049/lowlevel.c b/arch/arm/boards/pcm049/lowlevel.c
> index 20e40c5..c3fc6c7 100644
> --- a/arch/arm/boards/pcm049/lowlevel.c
> +++ b/arch/arm/boards/pcm049/lowlevel.c
> @@ -91,7 +91,7 @@ void reset(void)
>  	common_reset();
>  
>  	if (get_pc() > 0x80000000)
> -		return;
> +		board_init_lowlevel_return();
>  
>  	r = 0x4030d000;
>  	__asm__ __volatile__("mov sp, %0" : : "r"(r));
> diff --git a/arch/arm/boards/phycard-a-xl2/lowlevel.c b/arch/arm/boards/phycard-a-xl2/lowlevel.c
> index d472347..24b4ab8 100644
> --- a/arch/arm/boards/phycard-a-xl2/lowlevel.c
> +++ b/arch/arm/boards/phycard-a-xl2/lowlevel.c
> @@ -91,7 +91,7 @@ void reset(void)
>  	common_reset();
>  
>  	if (get_pc() > 0x80000000)
> -		return;
> +		board_init_lowlevel_return();
>  
>  	r = 0x4030d000;
>  	__asm__ __volatile__("mov sp, %0" : : "r"(r));
> -- 
> 1.7.12.2
> 
> 
> _______________________________________________
> 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