summaryrefslogtreecommitdiff
path: root/arch/sh/include/mach-ecovec24/mach/romimage.h
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2009-09-10 05:39:55 +0400
committerPaul Mundt <lethal@linux-sh.org>2009-09-11 08:19:17 +0400
commitbe4ebf999a38dfe9d7d705c4913624ec816c48f2 (patch)
tree8c5b31c83a648d5ac90256710eeea5c040b949ea /arch/sh/include/mach-ecovec24/mach/romimage.h
parent378a569eaa2bff8f22bb312a76cf0a97d5d329ae (diff)
downloadlinux-be4ebf999a38dfe9d7d705c4913624ec816c48f2.tar.xz
sh: Add romImage support for EcoVec24
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-ecovec24/mach/romimage.h')
-rw-r--r--arch/sh/include/mach-ecovec24/mach/romimage.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/sh/include/mach-ecovec24/mach/romimage.h b/arch/sh/include/mach-ecovec24/mach/romimage.h
new file mode 100644
index 000000000000..1c8787ecb1c1
--- /dev/null
+++ b/arch/sh/include/mach-ecovec24/mach/romimage.h
@@ -0,0 +1,20 @@
+/* EcoVec board specific boot code:
+ * converts the "partner-jet-script.txt" script into assembly
+ * the assembly code is the first code to be executed in the romImage
+ */
+
+#include <asm/romimage-macros.h>
+#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 :