// Execute in place
// Jump directly to XIP_TARGET_ADDR
- .text
+ .section .text.init
.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:
+ csrr a0, mhartid
+ la a1, dtb
li t0, XIP_TARGET_ADDR
jr t0
.section .rodata
-#ifdef CONFIG_STRING
-cfg_string:
- .incbin CONFIG_STRING
-#endif
+dtb:
+ .incbin DEVICE_TREE