blob: 5f846b7700a32c0464dd21d6e9615cb8ee935b0f [file] [log] [blame]
Jesper Nilsson3f50c062007-11-30 17:20:00 +01001/*
2 * Just get started by jumping to CONFIG_ETRAX_PTABLE_SECTOR to start
3 * kernel decompressor.
Mikael Starvik51533b62005-07-27 11:44:44 -07004 *
Jesper Nilsson3f50c062007-11-30 17:20:00 +01005 * 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 Starvik51533b62005-07-27 11:44:44 -07008 */
9
Jesper Nilsson3f50c062007-11-30 17:20:00 +010010#include <mach/startup.inc>
11
12#ifdef CONFIG_ETRAX_AXISFLASHMAP
13
14;; Code
Mikael Starvik51533b62005-07-27 11:44:44 -070015
16 .text
Jesper Nilsson3f50c062007-11-30 17:20:00 +010017start:
Mikael Starvik51533b62005-07-27 11:44:44 -070018
19 ;; Start clocks for used blocks.
Jesper Nilsson3f50c062007-11-30 17:20:00 +010020 START_CLOCKS
Mikael Starvik51533b62005-07-27 11:44:44 -070021
Mikael Starvik51533b62005-07-27 11:44:44 -070022 move.d CONFIG_ETRAX_PTABLE_SECTOR, $r10
Jesper Nilsson3f50c062007-11-30 17:20:00 +010023 jump $r10 ; Jump to decompressor
Mikael Starvik51533b62005-07-27 11:44:44 -070024 nop
25
Jesper Nilsson3f50c062007-11-30 17:20:00 +010026#endif