blob: 464298bc348bc38fb9662830ab0e1b9395eea25a [file] [log] [blame]
Chris Zankel4bedea92005-06-23 22:01:12 -07001
Chris Zankel4bedea92005-06-23 22:01:12 -07002#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