proxmark3/bootrom/ram-reset.s

21 lines
594 B
ArmAsm
Raw Normal View History

@-----------------------------------------------------------------------------
@ This code is licensed to you under the terms of the GNU GPL, version 2 or,
@ at your option, any later version. See the LICENSE.txt file for the text of
@ the license.
@-----------------------------------------------------------------------------
@ RAM reset vector for relaunching the bootloader
@-----------------------------------------------------------------------------
.extern BootROM
.section .startphase2,"ax"
.arm
.global ram_start
ram_start:
2019-03-09 17:42:03 +08:00
ldr sp, =_stack_end
bl BootROM
2019-03-09 17:42:03 +08:00
.ltorg