]> git.sur5r.net Git - u-boot/commitdiff
[MIPS] Remove useless instructions for initializing $gp.
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sat, 17 Nov 2007 11:05:26 +0000 (20:05 +0900)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sat, 17 Nov 2007 11:05:26 +0000 (20:05 +0900)
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
cpu/mips/start.S

index 5a278b6c846647b1db51afa69f43250994637bdb..c92b16278267200d208cc649fa1d7722628d92da 100644 (file)
@@ -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.