Initial commit.
[freedom-sifive.git] / bootrom / xip / xip.S
1 // See LICENSE for license details.
2 // Execute in place
3 // Jump directly to XIP_TARGET_ADDR
4
5 .text
6 .option norvc
7 .globl _start
8 _start:
9 j 1f
10 nop
11 nop
12 #ifdef CONFIG_STRING
13 .word cfg_string
14 #else
15 .word 0 // Filled in by GenerateBootROM in Chisel
16 #endif
17
18 1:
19 li t0, XIP_TARGET_ADDR
20 jr t0
21
22 .section .rodata
23 #ifdef CONFIG_STRING
24 cfg_string:
25 .incbin CONFIG_STRING
26 #endif