All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [MIPS] Remove useless instructions for initializing $gp.
@ 2007-11-17 11:43 Shinya Kuribayashi
  2007-11-18  0:24 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Shinya Kuribayashi @ 2007-11-17 11:43 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
---

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

diff --git a/cpu/mips/start.S b/cpu/mips/start.S
index 5a278b6..c92b162 100644
--- a/cpu/mips/start.S
+++ b/cpu/mips/start.S
@@ -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.

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

end of thread, other threads:[~2007-11-18  0:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-17 11:43 [U-Boot-Users] [MIPS] Remove useless instructions for initializing $gp Shinya Kuribayashi
2007-11-18  0:24 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.