Kuninori Morimoto | be4ebf9 | 2009-09-10 01:39:55 +0000 | [diff] [blame] | 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 : |