GNU Linux-libre 4.14.332-gnu1
[releases.git] / arch / cris / boot / rescue / head_v32.S
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Just get started by jumping to CONFIG_ETRAX_PTABLE_SECTOR to start
4  * kernel decompressor.
5  *
6  * In practice, this only works for NOR flash (or some convoluted RAM boot)
7  * and hence is not really useful for Artpec-3, so it's Etrax FS / NOR only.
8  *
9  */
10
11 #include <mach/startup.inc>
12
13 #ifdef CONFIG_ETRAX_AXISFLASHMAP
14
15 ;; Code
16
17         .text
18 start:
19
20         ;; Start clocks for used blocks.
21         START_CLOCKS
22
23         move.d  CONFIG_ETRAX_PTABLE_SECTOR, $r10
24         jump    $r10                    ; Jump to decompressor
25         nop
26
27 #endif