[U-Boot-Users] [MIPS] Remove useless instructions for initializing $gp.

Shinya Kuribayashi skuribay at ruby.dti.ne.jp
Sat Nov 17 12:43:48 CET 2007


Signed-off-by: Shinya Kuribayashi <skuribay at 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.




More information about the U-Boot mailing list