blob: f857fc760aa87003102d54b50606a30395e2b7e9 [file] [log] [blame]
Chris Zankel4bedea92005-06-23 22:01:12 -07001
2#include <xtensa/config/specreg.h>
3#include <xtensa/config/core.h>
4
Chris Zankel4bedea92005-06-23 22:01:12 -07005#include <asm/bootparam.h>
6
7
8/* ResetVector
9 */
10 .section .ResetVector.text, "ax"
11 .global _ResetVector
12_ResetVector:
13 _j reset
14 .align 4
15RomInitAddr:
16 .word 0xd0001000
17RomBootParam:
18 .word _bootparam
19reset:
20 l32r a0, RomInitAddr
21 l32r a2, RomBootParam
22 movi a3, 0
23 movi a4, 0
24 jx a0
25
26 .align 4
27 .section .bootstrap.data, "aw"
28
29 .globl _bootparam
30_bootparam:
31 .short BP_TAG_FIRST
32 .short 4
33 .long BP_VERSION
34 .short BP_TAG_LAST
35 .short 0
36 .long 0