14705b2e8SMagnus Damm #ifdef __ASSEMBLY__
24705b2e8SMagnus Damm 
32d2bcd31SMagnus Damm /* kfr2r09 board specific boot code:
42d2bcd31SMagnus Damm  * converts the "partner-jet-script.txt" script into assembly
52d2bcd31SMagnus Damm  * the assembly code is the first code to be executed in the romImage
62d2bcd31SMagnus Damm  */
72d2bcd31SMagnus Damm 
8378a569eSKuninori Morimoto #include <asm/romimage-macros.h>
92d2bcd31SMagnus Damm #include "partner-jet-setup.txt"
10673b74beSMagnus Damm 
11673b74beSMagnus Damm 	/* execute icbi after enabling cache */
12673b74beSMagnus Damm 	mov.l	1f, r0
13673b74beSMagnus Damm 	icbi	@r0
14673b74beSMagnus Damm 
15673b74beSMagnus Damm 	/* jump to cached area */
16673b74beSMagnus Damm 	mova	2f, r0
17673b74beSMagnus Damm 	jmp	@r0
18673b74beSMagnus Damm 	 nop
19673b74beSMagnus Damm 
20673b74beSMagnus Damm 	.align 2
21673b74beSMagnus Damm 1:	.long 0xa8000000
22673b74beSMagnus Damm 2:
234705b2e8SMagnus Damm 
244705b2e8SMagnus Damm #else /* __ASSEMBLY__ */
254705b2e8SMagnus Damm 
264705b2e8SMagnus Damm extern inline void mmcif_update_progress(int nr)
274705b2e8SMagnus Damm {
284705b2e8SMagnus Damm }
294705b2e8SMagnus Damm 
304705b2e8SMagnus Damm #endif /* __ASSEMBLY__ */
31