[U-Boot] [PATCH alternate version] at91rm9200: fix lowlevel_init() SMRDATA size

Andreas Bießmann andreas.devel at googlemail.com
Sat Dec 4 14:19:29 CET 2010


Dear Jens Scharsig,

Am 04.12.2010 um 11:53 schrieb Jens Scharsig:

> diff --git a/arch/arm/cpu/arm920t/at91/lowlevel_init.S b/arch/arm/cpu/arm920t/at91/lowlevel_init.S
> index eaea9d2..1143c7e 100644
> --- a/arch/arm/cpu/arm920t/at91/lowlevel_init.S
> +++ b/arch/arm/cpu/arm920t/at91/lowlevel_init.S
> @@ -65,7 +65,8 @@ LoopOsc:
> 	ldr	r0, =SMRDATA
> 	ldr	r1, _MTEXT_BASE
> 	sub	r0, r0, r1
> -	add	r2, r0, #80
> +	ldr	r2, =SMRDATAE
> +	add	r2, r2, r1
> pllloop:
> 	/* the address */
> 	ldr	r1, [r0], #4
> @@ -82,8 +83,8 @@ lock:
> 	bhi	lock
> 	ldr	r0, =SMRDATA1
> 	ldr	r1, _MTEXT_BASE
> -	sub	r0, r0, r1
> -	add	r2, r0, #176
> +	ldr	r2, =SMRDATA1E
> +	add	r2, r2, r1

OUCH, one line to much deleted ...

regards 

Andreas Bießmann


More information about the U-Boot mailing list