rpi: Reduce superfluous code in loader.

* Remove unneeded complexity and a few left over
  linux items
This commit is contained in:
Alexander von Gluck IV 2012-05-06 12:20:26 -05:00
parent 19b42424c6
commit 60433c9277
1 changed files with 2 additions and 14 deletions

View File

@ -1,21 +1,9 @@
.globl _start
_start:
b boot
.balign 0x20
boot:
mov r0, #0
@ Machine ID 3138 (0xC42)
mov r1, #66
orr r1, r1, #3072
ldr pc, kern_addr
kern_addr:
.word kern
b jmp_loader
.balign 0x8000, 0
kern:
jmp_loader:
/* Set up 1MB C Stack Space */
mov sp, #0x100000
mov r4, #0