Skip to contentSkip to conversation

Small fix for ppc4xx head.S

PATCH New Martin Hicks 2 participants 2 messages Jun 15, 2006 – Jun 18, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Small fix for ppc4xx head.S

[PATCH] Fix register arguments to in32 in ppc4xx's head.S

Specify register arguments.

---

 cpu/ppc4xx/start.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

3ae725649aee7d904f0096137abf67d7a42aa819

cpu/ppc4xx/start.S +1 -1
index 48b430d..ae07eb0 100644
@@ -1160,7 +1160,7 @@ in16r:
 /*------------------------------------------------------------------------------- */
 	.globl	in32
 in32:
-	lwz	3,0x0000(3)
+	lwz	r3,0x0000(r3)
 	blr
 
 /*------------------------------------------------------------------------------- */
Signature · 1 line
1.3.2
#1 lore raw

PATCH 1/1 Small fix for ppc4xx head.S

Quoted 4 lines · In message <[email protected]> you wrote:

[PATCH] Fix register arguments to in32 in ppc4xx's head.S

Specify register arguments.

Which exact problem are you trying to fix?

cpu/ppc4xx/start.S in16r: · line 1163

Quoted 2 lines
cpu/ppc4xx/start.S +1 -1
-	lwz	3,0x0000(3)
+	lwz	r3,0x0000(r3)

I don't see any error in the original code?

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
While money can't buy happiness, it certainly lets  you  choose  your
own form of misery.