Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/cris/boot/rescue/head_v32.S
10819 views
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
27
28