345ed4eeec2c58f7238cfb2fe43154ea743a2044
[rpi-open-firmware.git] / arm_chainloader / boot.s
1 /*
2 At this point, the kernel is already ready in memory;
3 all that is left is setting up some registers and jumping.
4 However, it's kind of ugly to do it in inline asm.. so here
5 */
6
7 /*
8 r0: 0
9 r1: machine ID (3138/3189 for Pi 1/2)
10 r2: DTB address
11 r3: kernel address
12 */
13
14 .globl boot_linux
15 boot_linux:
16 /* jump to kernel */
17 // mov pc, r3
18 //bx r3
19 ldr r3, =0x2000000
20 blx r3
This page took 0.163808 seconds and 3 git commands to generate.