diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-09-10 01:39:55 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-09-11 13:19:17 +0900 |
commit | be4ebf999a38dfe9d7d705c4913624ec816c48f2 (patch) | |
tree | 8c5b31c83a648d5ac90256710eeea5c040b949ea /arch/sh/include/mach-ecovec24/mach/romimage.h | |
parent | 378a569eaa2bff8f22bb312a76cf0a97d5d329ae (diff) |
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.h | 20 |
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 00000000000..1c8787ecb1c --- /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 : |