1
2#include <asm/bootparam.h>
3
4
5/* ResetVector
6 */
7	.section        .ResetVector.text, "ax"
8	.global         _ResetVector
9_ResetVector:
10	_j reset
11	.align 4
12RomInitAddr:
13	.word 0xd0001000
14RomBootParam:
15	.word _bootparam
16reset:
17	l32r    a0, RomInitAddr
18	l32r	a2, RomBootParam
19	movi	a3, 0
20	movi	a4, 0
21	jx      a0
22
23	.align 4
24	.section .bootstrap.data, "aw"
25
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
34