public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] at91rm9200: fix lowlevel_init() SMRDATA size
@ 2010-12-03  7:26 Andreas Bießmann
  2010-12-03 17:09 ` Jens Scharsig
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Andreas Bießmann @ 2010-12-03  7:26 UTC (permalink / raw)
  To: u-boot

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 <biessmann@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

^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-04-11  9:58 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03  7:26 [U-Boot] [PATCH] at91rm9200: fix lowlevel_init() SMRDATA size Andreas Bießmann
2010-12-03 17:09 ` Jens Scharsig
2010-12-03 21:22   ` Andreas Bießmann
2010-12-04 11:37     ` Jens Scharsig
2010-12-04 12:04       ` Albert ARIBAUD
2010-12-04 13:14         ` Andreas Bießmann
2010-12-04 18:18           ` Albert ARIBAUD
2010-12-04 10:53 ` [U-Boot] [PATCH alternate version] " Jens Scharsig
2010-12-04 13:12   ` Andreas Bießmann
2010-12-04 13:19   ` Andreas Bießmann
2010-12-05  8:12   ` [U-Boot] [PATCH alternate version V2] " Jens Scharsig
2010-12-05 10:16     ` Reinhard Meyer
2010-12-06 17:36       ` Jens Scharsig
2010-12-06 21:03         ` Andreas Bießmann
2010-12-12 19:12           ` Jens Scharsig
2010-12-17  7:55             ` Reinhard Meyer
2010-12-23 11:37             ` Andreas Bießmann
2010-12-18 12:30 ` [U-Boot] [PATCH alternate V3] " Jens Scharsig
2010-12-23 11:39   ` Andreas Bießmann
2010-12-23 12:13     ` Reinhard Meyer
2010-12-23 13:05       ` Jens Scharsig
2011-04-11  9:58         ` Reinhard Meyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox