kernel_optimize_test/arch/xtensa/boot/boot-elf/bootstrap.S
Chris Zankel 173d668138 [PATCH] xtensa: remove extra header files
The Xtensa port contained many header files that were never needed.  This
rather lengthy patch removes all those files.  Unfortunately, there were
many dependencies that needed to be updated, so this patch touches quite a
few source files.

Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-10 09:55:39 -08:00

34 lines
471 B
ArmAsm

#include <asm/bootparam.h>
/* ResetVector
*/
.section .ResetVector.text, "ax"
.global _ResetVector
_ResetVector:
_j reset
.align 4
RomInitAddr:
.word 0xd0001000
RomBootParam:
.word _bootparam
reset:
l32r a0, RomInitAddr
l32r a2, RomBootParam
movi a3, 0
movi a4, 0
jx a0
.align 4
.section .bootstrap.data, "aw"
.globl _bootparam
_bootparam:
.short BP_TAG_FIRST
.short 4
.long BP_VERSION
.short BP_TAG_LAST
.short 0
.long 0