]>
Commit | Line | Data |
---|---|---|
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 | |
4 | @ the license. | |
5 | @----------------------------------------------------------------------------- | |
6 | @ RAM reset vector for relaunching the bootloader | |
7 | @----------------------------------------------------------------------------- | |
8 | ||
9 | .extern BootROM | |
10 | ||
11 | .section .startphase2,"ax" | |
12 | .code 32 | |
13 | .align 0 | |
14 | ||
15 | .global ramstart | |
16 | ramstart: | |
17 | ldr sp, .stack_end | |
18 | bl BootROM | |
19 | ||
20 | .stack_end: | |
21 | .word _stack_end |