2007-11-30 11:20:00 -05:00
|
|
|
/*
|
|
|
|
* 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.
|
2005-07-27 14:44:44 -04:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2007-11-30 11:20:00 -05:00
|
|
|
#include <mach/startup.inc>
|
2005-07-27 14:44:44 -04:00
|
|
|
|
2007-11-30 11:20:00 -05:00
|
|
|
#ifdef CONFIG_ETRAX_AXISFLASHMAP
|
2005-07-27 14:44:44 -04:00
|
|
|
|
2007-11-30 11:20:00 -05:00
|
|
|
;; Code
|
2005-07-27 14:44:44 -04:00
|
|
|
|
2007-11-30 11:20:00 -05:00
|
|
|
.text
|
|
|
|
start:
|
2005-07-27 14:44:44 -04:00
|
|
|
|
2007-11-30 11:20:00 -05:00
|
|
|
;; Start clocks for used blocks.
|
|
|
|
START_CLOCKS
|
2005-07-27 14:44:44 -04:00
|
|
|
|
|
|
|
move.d CONFIG_ETRAX_PTABLE_SECTOR, $r10
|
2007-11-30 11:20:00 -05:00
|
|
|
jump $r10 ; Jump to decompressor
|
2005-07-27 14:44:44 -04:00
|
|
|
nop
|
|
|
|
|
2007-11-30 11:20:00 -05:00
|
|
|
#endif
|