diff options
Diffstat (limited to 'arch/cris/boot/rescue/head_v32.S')
-rw-r--r-- | arch/cris/boot/rescue/head_v32.S | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/cris/boot/rescue/head_v32.S b/arch/cris/boot/rescue/head_v32.S new file mode 100644 index 000000000000..5f846b7700a3 --- /dev/null +++ b/arch/cris/boot/rescue/head_v32.S | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * Just get started by jumping to CONFIG_ETRAX_PTABLE_SECTOR to start | ||
3 | * kernel decompressor. | ||
4 | * | ||
5 | * In practice, this only works for NOR flash (or some convoluted RAM boot) | ||
6 | * and hence is not really useful for Artpec-3, so it's Etrax FS / NOR only. | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #include <mach/startup.inc> | ||
11 | |||
12 | #ifdef CONFIG_ETRAX_AXISFLASHMAP | ||
13 | |||
14 | ;; Code | ||
15 | |||
16 | .text | ||
17 | start: | ||
18 | |||
19 | ;; Start clocks for used blocks. | ||
20 | START_CLOCKS | ||
21 | |||
22 | move.d CONFIG_ETRAX_PTABLE_SECTOR, $r10 | ||
23 | jump $r10 ; Jump to decompressor | ||
24 | nop | ||
25 | |||
26 | #endif | ||