freedom/bootrom/xip/xip.S

17 lines
267 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
2017-08-19 03:21:04 +02:00
.section .text.init
2016-11-29 14:23:11 +01:00
.option norvc
.globl _start
_start:
2017-08-19 03:21:04 +02:00
csrr a0, mhartid
la a1, dtb
2016-11-29 14:23:11 +01:00
li t0, XIP_TARGET_ADDR
jr t0
.section .rodata
2017-08-19 03:21:04 +02:00
dtb:
.incbin DEVICE_TREE