[U-Boot] [PATCH alternate version] at91rm9200: fix lowlevel_init() SMRDATA size
Andreas Bießmann
andreas.devel at googlemail.com
Sat Dec 4 14:12:14 CET 2010
Dear Jens Scharsig,
Am 04.12.2010 um 11:53 schrieb Jens Scharsig:
[snip]
> So we should resolve this in a future-proof way (see below)
>
> arch/arm/cpu/arm920t/at91/lowlevel_init.S | 9 ++++++---
> 1 files changed, 6 insertions(+), 3 deletions(-)
>
> 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
Your approach seems better, therefore
Acked-by: Andreas Bießmann <andreas.devel at googlemail.com>
regards
Andreas Bießmann
More information about the U-Boot
mailing list