rpi: Reduce superfluous code in loader.
* Remove unneeded complexity and a few left over linux items
This commit is contained in:
parent
19b42424c6
commit
60433c9277
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue