diff options
author | Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> | 2008-04-17 23:35:13 +0900 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-18 00:47:29 -0700 |
commit | 43c509254fab375c49936498da944658117ed07c (patch) | |
tree | 8b730dcbc1498dee9303af405099d32aaa3f79bb /board/incaip | |
parent | 7ce63709828d37b08866e537339a169bd0db2bd3 (diff) |
Use jr as register jump instruction
Current assembler codes are inconsistent in the way of register jump
instruction usage; some use jr, some use j. Of course GNU as allows both
usages, but as can be expected from `Jump Register' the mnemonic `jr' is
more intuitive than `j'. For example, Linux doesn't have `j <reg>' usage
at all.
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'board/incaip')
-rw-r--r-- | board/incaip/lowlevel_init.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/incaip/lowlevel_init.S b/board/incaip/lowlevel_init.S index b39f93d43f2..08f7f211f71 100644 --- a/board/incaip/lowlevel_init.S +++ b/board/incaip/lowlevel_init.S @@ -105,7 +105,7 @@ __ebu_init: li t2, 0x684143FD sw t2, EBU_BUSCON1(t1) 3: - j ra + jr ra nop .end ebu_init @@ -170,7 +170,7 @@ __cgu_init: li t2, 0x80000001 sw t2, CGU_MUXCR(t1) 5: - j ra + jr ra nop .end cgu_init @@ -266,7 +266,7 @@ __sdram_init: li t2, 0x00000001 sw t2, MC_CTRLENA(t1) - j ra + jr ra nop .end sdram_init @@ -298,7 +298,7 @@ lowlevel_init: nop move ra, t0 - j ra + jr ra nop .end lowlevel_init |