X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e3ae0257834f7d134c7f80db6fa23668b5a5fa6d..15491b2d7398eac88f2a83cab88fc771da4ced6c:/bootrom/ram-reset.s?ds=sidebyside

diff --git a/bootrom/ram-reset.s b/bootrom/ram-reset.s
index 691cd0db..ade70d8c 100644
--- a/bootrom/ram-reset.s
+++ b/bootrom/ram-reset.s
@@ -1,13 +1,20 @@
-.extern BootROM
-    
-.section .startphase2,"ax"
-         .code 32
-         .align 0
-
-.global ramstart
-ramstart:
-    ldr     sp,     .stack_end
-    bl      BootROM
-
-	.stack_end:
-	.word _stack_end
+@-----------------------------------------------------------------------------
+@ 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