X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/6658905f18a1eebc148836f26c731dea9c1377dc..a9bc033bdd5bad5dcba73c55ee337bade1540d6a:/bootrom/ram-reset.s?ds=inline diff --git a/bootrom/ram-reset.s b/bootrom/ram-reset.s index 56bf36e3..691cd0db 100644 --- a/bootrom/ram-reset.s +++ b/bootrom/ram-reset.s @@ -1,10 +1,13 @@ .extern BootROM -.text -.code 32 -.align 0 +.section .startphase2,"ax" + .code 32 + .align 0 -.global start -start: - ldr sp, = 0x0020FFF8 +.global ramstart +ramstart: + ldr sp, .stack_end bl BootROM + + .stack_end: + .word _stack_end