]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - bootrom/ram-reset.s
fpgaloader: fix function accordingly to #669 (#673)
[proxmark3-svn] / bootrom / ram-reset.s
index 691cd0db1958d4ace3e0ab1aa8ddabdb1011e587..ade70d8cc3b2350cccb22fa66cd6ba8ea82cecff 100644 (file)
@@ -1,13 +1,20 @@
-.extern BootROM\r
-    \r
-.section .startphase2,"ax"\r
-         .code 32\r
-         .align 0\r
-\r
-.global ramstart\r
-ramstart:\r
-    ldr     sp,     .stack_end\r
-    bl      BootROM\r
-\r
-       .stack_end:\r
-       .word _stack_end\r
+@-----------------------------------------------------------------------------
+@ 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
Impressum, Datenschutz