Jesper Nilsson | 3f50c06 | 2007-11-30 17:20:00 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Just get started by jumping to CONFIG_ETRAX_PTABLE_SECTOR to start |
| 3 | * kernel decompressor. |
Mikael Starvik | 51533b6 | 2005-07-27 11:44:44 -0700 | [diff] [blame] | 4 | * |
Jesper Nilsson | 3f50c06 | 2007-11-30 17:20:00 +0100 | [diff] [blame] | 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 | * |
Mikael Starvik | 51533b6 | 2005-07-27 11:44:44 -0700 | [diff] [blame] | 8 | */ |
| 9 | |
Jesper Nilsson | 3f50c06 | 2007-11-30 17:20:00 +0100 | [diff] [blame] | 10 | #include <mach/startup.inc> |
| 11 | |
| 12 | #ifdef CONFIG_ETRAX_AXISFLASHMAP |
| 13 | |
| 14 | ;; Code |
Mikael Starvik | 51533b6 | 2005-07-27 11:44:44 -0700 | [diff] [blame] | 15 | |
| 16 | .text |
Jesper Nilsson | 3f50c06 | 2007-11-30 17:20:00 +0100 | [diff] [blame] | 17 | start: |
Mikael Starvik | 51533b6 | 2005-07-27 11:44:44 -0700 | [diff] [blame] | 18 | |
| 19 | ;; Start clocks for used blocks. |
Jesper Nilsson | 3f50c06 | 2007-11-30 17:20:00 +0100 | [diff] [blame] | 20 | START_CLOCKS |
Mikael Starvik | 51533b6 | 2005-07-27 11:44:44 -0700 | [diff] [blame] | 21 | |
Mikael Starvik | 51533b6 | 2005-07-27 11:44:44 -0700 | [diff] [blame] | 22 | move.d CONFIG_ETRAX_PTABLE_SECTOR, $r10 |
Jesper Nilsson | 3f50c06 | 2007-11-30 17:20:00 +0100 | [diff] [blame] | 23 | jump $r10 ; Jump to decompressor |
Mikael Starvik | 51533b6 | 2005-07-27 11:44:44 -0700 | [diff] [blame] | 24 | nop |
| 25 | |
Jesper Nilsson | 3f50c06 | 2007-11-30 17:20:00 +0100 | [diff] [blame] | 26 | #endif |