SMRDATA in a/a/c/arm920t/at91/lowlevel_init.c has wrong size. This patch
reduces it to correct size of 40 byte.

Signed-off-by: Andreas Bießmann <biessm...@corscience.de>
---
Dear all,

I thougt about a problem in lowlevel_init() cause of errornous booting from
NOR flash on at91rm9200ek last night . This morning I detected this, but the
patch is untested!

I can not test it til sunday, if one can test it before please send a mail
(Jens?).

regards

Andreas Bießmann

arch/arm/cpu/arm920t/at91/lowlevel_init.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/cpu/arm920t/at91/lowlevel_init.S 
b/arch/arm/cpu/arm920t/at91/lowlevel_init.S
index eaea9d2..6e397c2 100644
--- a/arch/arm/cpu/arm920t/at91/lowlevel_init.S
+++ b/arch/arm/cpu/arm920t/at91/lowlevel_init.S
@@ -65,7 +65,7 @@ LoopOsc:
        ldr     r0, =SMRDATA
        ldr     r1, _MTEXT_BASE
        sub     r0, r0, r1
-       add     r2, r0, #80
+       add     r2, r0, #40
 pllloop:
        /* the address */
        ldr     r1, [r0], #4
-- 
1.7.2.3

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to