]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
4705b2e8 MD |
2 | #ifdef __ASSEMBLY__ |
3 | ||
d162300e MD |
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 | ||
378a569e | 9 | #include <asm/romimage-macros.h> |
a1ce3928 | 10 | #include <mach/partner-jet-setup.txt> |
673b74be MD |
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: | |
4705b2e8 MD |
24 | |
25 | #else /* __ASSEMBLY__ */ | |
26 | ||
7211a1ba | 27 | static inline void mmcif_update_progress(int nr) |
4705b2e8 MD |
28 | { |
29 | } | |
30 | ||
31 | #endif /* __ASSEMBLY__ */ |