freedom/bootrom/xip/xip.S

27 lines
387 B
ArmAsm
Raw Normal View History

2016-11-29 14:23:11 +01:00
// See LICENSE for license details.
// Execute in place
// Jump directly to XIP_TARGET_ADDR
.text
.option norvc
.globl _start
_start:
j 1f
nop
nop
#ifdef CONFIG_STRING
.word cfg_string
#else
.word 0 // Filled in by GenerateBootROM in Chisel
#endif
1:
li t0, XIP_TARGET_ADDR
jr t0
.section .rodata
#ifdef CONFIG_STRING
cfg_string:
.incbin CONFIG_STRING
#endif