kernel_optimize_test/arch/cris/boot/rescue/head_v32.S
Jesper Nilsson 66ab3a74c5 CRIS: Merge machine dependent boot/compressed and boot/rescue
Merge the machine dependent boot directories for v10 and v32.
This avoids some code duplication and eases the way for further
merging later on.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2009-04-21 11:44:57 +02:00

27 lines
487 B
ArmAsm

/*
* Just get started by jumping to CONFIG_ETRAX_PTABLE_SECTOR to start
* kernel decompressor.
*
* In practice, this only works for NOR flash (or some convoluted RAM boot)
* and hence is not really useful for Artpec-3, so it's Etrax FS / NOR only.
*
*/
#include <mach/startup.inc>
#ifdef CONFIG_ETRAX_AXISFLASHMAP
;; Code
.text
start:
;; Start clocks for used blocks.
START_CLOCKS
move.d CONFIG_ETRAX_PTABLE_SECTOR, $r10
jump $r10 ; Jump to decompressor
nop
#endif