1 @
-----------------------------------------------------------------------------
2 @ This code is licensed to you under the terms of the GNU GPL
, version
2 or,
3 @ at your option
, any later version. See the LICENSE.txt file for the text of
5 @
-----------------------------------------------------------------------------
6 @ Reset vector for running from FLASH
7 @
-----------------------------------------------------------------------------
16 b undefined_instruction
21 ldr pc
, [pc
,#-0xF20] @ IRQ - read the AIC
25 ldr sp
, =_stack_end @ initialize stack pointer to top of RAM
27 @ copy bootloader to RAM
(in case the user re-flashes the bootloader
)
28 ldr
r0, =__bootphase2_src_start__
29 ldr
r1, =__bootphase2_start__
30 ldr
r2, =__bootphase2_end__
37 ldr
r3, =ram_start @ start address of RAM bootloader
42 undefined_instruction
: