2007-12-01 00:20:00 +08: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-28 02:44:44 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2007-12-01 00:20:00 +08:00
|
|
|
#include <mach/startup.inc>
|
2005-07-28 02:44:44 +08:00
|
|
|
|
2007-12-01 00:20:00 +08:00
|
|
|
#ifdef CONFIG_ETRAX_AXISFLASHMAP
|
2005-07-28 02:44:44 +08:00
|
|
|
|
2007-12-01 00:20:00 +08:00
|
|
|
;; Code
|
2005-07-28 02:44:44 +08:00
|
|
|
|
2007-12-01 00:20:00 +08:00
|
|
|
.text
|
|
|
|
start:
|
2005-07-28 02:44:44 +08:00
|
|
|
|
2007-12-01 00:20:00 +08:00
|
|
|
;; Start clocks for used blocks.
|
|
|
|
START_CLOCKS
|
2005-07-28 02:44:44 +08:00
|
|
|
|
|
|
|
move.d CONFIG_ETRAX_PTABLE_SECTOR, $r10
|
2007-12-01 00:20:00 +08:00
|
|
|
jump $r10 ; Jump to decompressor
|
2005-07-28 02:44:44 +08:00
|
|
|
nop
|
|
|
|
|
2007-12-01 00:20:00 +08:00
|
|
|
#endif
|