X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/8652988d62b19631e498b62a3800f0decb5e743a..5ea2c8851520ed67b42b62a25f08eb493c1ed41a:/bootrom/ram-reset.s

diff --git a/bootrom/ram-reset.s b/bootrom/ram-reset.s
index 6155b002..ade70d8c 100644
--- a/bootrom/ram-reset.s
+++ b/bootrom/ram-reset.s
@@ -1,10 +1,20 @@
-.extern BootROM
-    
-.section .startphase2,"ax"
-         .code 32
-         .align 0
-
-.global ramstart
-ramstart:
-    ldr     sp,     = 0x0020FFF8
-    bl      BootROM
+@-----------------------------------------------------------------------------
+@ 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