| 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 | |
| 13 | .arm |
| 14 | |
| 15 | .global ram_start |
| 16 | ram_start: |
| 17 | ldr sp, =_stack_end |
| 18 | bl BootROM |
| 19 | |
| 20 | .ltorg |