xref: /linux/arch/sh/include/mach-kfr2r09/mach/romimage.h (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifdef __ASSEMBLY__
3 
4 /* kfr2r09 board specific boot code:
5  * converts the "partner-jet-script.txt" script into assembly
6  * the assembly code is the first code to be executed in the romImage
7  */
8 
9 #include <asm/romimage-macros.h>
10 #include <mach/partner-jet-setup.txt>
11 
12 	/* execute icbi after enabling cache */
13 	mov.l	1f, r0
14 	icbi	@r0
15 
16 	/* jump to cached area */
17 	mova	2f, r0
18 	jmp	@r0
19 	 nop
20 
21 	.align 2
22 1:	.long 0xa8000000
23 2:
24 
25 #else /* __ASSEMBLY__ */
26 
27 static inline void mmcif_update_progress(int nr)
28 {
29 }
30 
31 #endif /* __ASSEMBLY__ */
32