2009-07-29 23:06:15 +08:00
|
|
|
/* kfr2r09 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
|
|
|
|
*/
|
|
|
|
|
2009-09-10 09:39:52 +08:00
|
|
|
#include <asm/romimage-macros.h>
|
2009-07-29 23:06:15 +08:00
|
|
|
#include "partner-jet-setup.txt"
|
2009-08-20 21:59:26 +08:00
|
|
|
|
|
|
|
/* 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:
|