diff options
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 000000000000..1c8787ecb1c1 --- /dev/null +++ b/arch/sh/include/mach-ecovec24/mach/romimage.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* EcoVec board specific boot code: | ||
2 | * converts the "partner-jet-script.txt" script into assembly | ||
3 | * the assembly code is the first code to be executed in the romImage | ||
4 | */ | ||
5 | |||
6 | #include <asm/romimage-macros.h> | ||
7 | #include "partner-jet-setup.txt" | ||
8 | |||
9 | /* execute icbi after enabling cache */ | ||
10 | mov.l 1f, r0 | ||
11 | icbi @r0 | ||
12 | |||
13 | /* jump to cached area */ | ||
14 | mova 2f, r0 | ||
15 | jmp @r0 | ||
16 | nop | ||
17 | |||
18 | .align 2 | ||
19 | 1 : .long 0xa8000000 | ||
20 | 2 : | ||