Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 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 |