.extern BootROM\r
\r
-.text\r
-.code 32\r
-.align 0\r
+.section .startphase2,"ax"\r
+ .code 32\r
+ .align 0\r
\r
-.global start\r
-start:\r
- ldr sp, = 0x0020FFF8\r
+.global ramstart\r
+ramstart:\r
+ ldr sp, .stack_end\r
bl BootROM\r
+\r
+ .stack_end:\r
+ .word _stack_end\r