mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-26 18:12:34 +08:00
86d3195518
- Clean up bootloader asm - Remove fromflash.c - it's not worth doing in C, do it in ASM - Clean up linker script - Force use of symbol inside bootphase2 (otherwise linker garbage-collects it) - Link bootloader with gcc instead of ld
20 lines
584 B
ArmAsm
20 lines
584 B
ArmAsm
@-----------------------------------------------------------------------------
|
|
@ 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:
|
|
ldr sp, =_stack_end
|
|
bl BootROM
|
|
|
|
.ltorg
|