Skip to contentSkip to conversation

Remove useless instructions for initializing $gp.

U-Boot-Users Shinya Kuribayashi 2 participants 2 messages Nov 17, 2007 – Nov 18, 2007

lore
Share & tools
lore
#0 lore raw

---

 cpu/mips/start.S |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
cpu/mips/start.S +1 -3
index 5a278b6..c92b162 100644
@@ -238,9 +238,7 @@ reset:
 	nop
 	.word	_gp
 1:
-	move	gp, ra
-	lw	t1, 0(ra)
-	move	gp, t1
+	lw	gp, 0(ra)
 
 #ifdef CONFIG_INCA_IP
 	/* Disable INCA-IP Watchdog.
#1 lore raw

cpu/mips/start.S

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

---

 cpu/mips/start.S |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
cpu/mips/start.S +0 -0

Doesn't work for me:

error: patch failed: cpu/mips/start.S:238
error: cpu/mips/start.S: patch does not apply
fatal: sha1 information is lacking or useless (cpu/mips/start.S). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge.
Patch failed at 0001.

Ah, I just see your pull request. Willt ry to get it form there.

Best regards,

Wolfgang Denk

Signature · 8 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In the beginning, I was made. I didn't ask to be made. No one consul-
ted with me or considered my feelings  in  this  matter.  But  if  it
brought  some  passing fancy to some lowly humans as they haphazardly
pranced their way through life's mournful jungle, then so be it.
- Marvin the Paranoid Android