[U-Boot] [RFC 1/3] ARM,crt0.S: call s_init instead from ctr0.S

Jeroen Hofstee jeroen at myspectrum.nl
Sat Aug 24 18:41:50 CEST 2013


On 08/24/2013 06:32 PM, Jeroen Hofstee wrote:
>   	/* the literal pools origin */
> diff --git a/arch/arm/cpu/armv7/rmobile/lowlevel_init.S b/arch/arm/cpu/armv7/rmobile/lowlevel_init.S
> index ff18d96..70ec22d 100644
> --- a/arch/arm/cpu/armv7/rmobile/lowlevel_init.S
> +++ b/arch/arm/cpu/armv7/rmobile/lowlevel_init.S
> @@ -59,14 +59,8 @@ loop0:
>   	subs r0, r0, #1
>   	bne  loop0
>   
> -	ldr sp, MERAM_STACK
> -	b s_init
> -
right, this ^^^ will brick things nicely, how about returning to the 
caller...
>   	.pool
>   	.align 4
>   
>   ENDPROC(lowlevel_init)
>   	.ltorg
> -
> -MERAM_STACK:
> -	.word LOW_LEVEL_MERAM_STACK




More information about the U-Boot mailing list