projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c328e4
)
sh: jump to p1 during boot on kfr2r09
author
Magnus Damm
<damm@igel.co.jp>
Thu, 20 Aug 2009 13:59:26 +0000
(13:59 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 20 Aug 2009 23:32:15 +0000
(08:32 +0900)
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: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/mach-kfr2r09/mach/romimage.h
patch
|
blob
|
history
diff --git
a/arch/sh/include/mach-kfr2r09/mach/romimage.h
b/arch/sh/include/mach-kfr2r09/mach/romimage.h
index
f5aa8e1
..
39ee794
100644
(file)
--- a/
arch/sh/include/mach-kfr2r09/mach/romimage.h
+++ b/
arch/sh/include/mach-kfr2r09/mach/romimage.h
@@
-73,3
+73,16
@@
.endm
#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: