repo.or.cz
/
linux-ginger.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Save sram context after changing MPU, DSP or core clocks
[linux-ginger.git]
/
arch
/
xtensa
/
boot
/
boot-elf
/
bootstrap.S
blob
464298bc348bc38fb9662830ab0e1b9395eea25a
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
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
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