projects
/
linux-2.6
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge master.kernel.org:/home/rmk/linux-2.6-i2c manually
[linux-2.6]
/
arch
/
xtensa
/
boot
/
boot-elf
/
bootstrap.S
1
2
#include <xtensa/config/specreg.h>
3
#include <xtensa/config/core.h>
4
5
#include <linux/config.h>
6
#include <asm/bootparam.h>
7
8
9
/* ResetVector
10
*/
11
.section .ResetVector.text, "ax"
12
.global _ResetVector
13
_ResetVector:
14
_j reset
15
.align 4
16
RomInitAddr:
17
.word 0xd0001000
18
RomBootParam:
19
.word _bootparam
20
reset:
21
l32r a0, RomInitAddr
22
l32r a2, RomBootParam
23
movi a3, 0
24
movi a4, 0
25
jx a0
26
27
.align 4
28
.section .bootstrap.data, "aw"
29
30
.globl _bootparam
31
_bootparam:
32
.short BP_TAG_FIRST
33
.short 4
34
.long BP_VERSION
35
.short BP_TAG_LAST
36
.short 0
37
.long 0