]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - bootrom/ram-reset.s
Fixed issue #43 on github
[proxmark3-svn] / bootrom / ram-reset.s
index 3dd77a895cb22d73a028561e2eec601a9ec34ad3..ade70d8cc3b2350cccb22fa66cd6ba8ea82cecff 100644 (file)
@@ -1,13 +1,20 @@
+@-----------------------------------------------------------------------------
+@ 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"
-         .code 32
-         .align 0
 
-.global ramstart
-ramstart:
-    ldr     sp,     .stack_end
-    bl      BootROM
+.arm
+
+.global ram_start
+ram_start:
+       ldr     sp,     =_stack_end
+       bl      BootROM
 
-       .stack_end:
-       .word _stack_end
+       .ltorg
Impressum, Datenschutz