[U-Boot-Users] [PATCH] Small fix for ppc4xx head.S

[PATCH] Fix register arguments to in32 in ppc4xx's head.S
Specify register arguments.
Signed-off-by: Martin Hicks mort@bork.org
---
cpu/ppc4xx/start.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
3ae725649aee7d904f0096137abf67d7a42aa819 diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S index 48b430d..ae07eb0 100644 --- a/cpu/ppc4xx/start.S +++ b/cpu/ppc4xx/start.S @@ -1160,7 +1160,7 @@ in16r: /*------------------------------------------------------------------------------- */ .globl in32 in32: - lwz 3,0x0000(3) + lwz r3,0x0000(r3) blr
/*------------------------------------------------------------------------------- */

In message 20060615201212.GB20573@bork.org you wrote:
[PATCH] Fix register arguments to in32 in ppc4xx's head.S
Specify register arguments.
Which exact problem are you trying to fix?
- lwz 3,0x0000(3)
- lwz r3,0x0000(r3)
I don't see any error in the original code?
Best regards,
Wolfgang Denk
participants (2)
-
Martin Hicks
-
Wolfgang Denk