Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[wrt350n-kernel.git] / arch / xtensa / boot / boot-elf / bootstrap.S
blob464298bc348bc38fb9662830ab0e1b9395eea25a
2 #include <asm/bootparam.h>
5 /* ResetVector
6  */
7         .section        .ResetVector.text, "ax"
8         .global         _ResetVector
9 _ResetVector:
10         _j reset
11         .align 4
12 RomInitAddr:
13         .word 0xd0001000
14 RomBootParam:
15         .word _bootparam
16 reset:
17         l32r    a0, RomInitAddr
18         l32r    a2, RomBootParam
19         movi    a3, 0
20         movi    a4, 0
21         jx      a0
23         .align 4
24         .section .bootstrap.data, "aw"
26         .globl _bootparam
27 _bootparam:
28         .short  BP_TAG_FIRST
29         .short  4
30         .long   BP_VERSION
31         .short  BP_TAG_LAST
32         .short  0
33         .long   0