summaryrefslogtreecommitdiff
path: root/cpu/mips/start.S
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2007-11-17 20:05:26 +0900
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2007-11-17 20:05:26 +0900
commit16664f72850846e645616da1c0fa5afcd6d15f15 (patch)
treeaebef614a76b0913032e94aff2ddd717dea18e60 /cpu/mips/start.S
parent03c031d5660ea946c39af6e2e16267da857c609f (diff)
[MIPS] Remove useless instructions for initializing $gp.
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'cpu/mips/start.S')
-rw-r--r--cpu/mips/start.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpu/mips/start.S b/cpu/mips/start.S
index 5a278b6c84..c92b162782 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.