Commit 673b74be authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt

sh: jump to p1 during boot on kfr2r09

Add a P1 jump to the the kfr2r09 romimage code. With this
patch applied the initial zImage assembly code will run
with instruction cache enabled.
Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 7c328e47
...@@ -73,3 +73,16 @@ ...@@ -73,3 +73,16 @@
.endm .endm
#include "partner-jet-setup.txt" #include "partner-jet-setup.txt"
/* execute icbi after enabling cache */
mov.l 1f, r0
icbi @r0
/* jump to cached area */
mova 2f, r0
jmp @r0
nop
.align 2
1: .long 0xa8000000
2:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment