diff options
| author | Sean Cross <[email protected]> | 2019-11-12 20:21:06 -0800 |
|---|---|---|
| committer | Sean Cross <[email protected]> | 2019-11-13 09:08:47 -0800 |
| commit | f087cb1580d7167da54698a9c5d5d4d978084dac (patch) | |
| tree | b39221e4c7ecad5ec3854dec9cfe9bac5f440423 | |
| parent | 1882a87212859e352502bddaccf973d2fd08ad09 (diff) | |
fomu: crt0: minor text refactor
Signed-off-by: Sean Cross <[email protected]>
| -rw-r--r-- | hw/bsp/fomu/crt0-vexriscv.S | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/hw/bsp/fomu/crt0-vexriscv.S b/hw/bsp/fomu/crt0-vexriscv.S index 46dca5577..d80a29e06 100644 --- a/hw/bsp/fomu/crt0-vexriscv.S +++ b/hw/bsp/fomu/crt0-vexriscv.S @@ -6,13 +6,6 @@ _start: j crt_init - nop - nop - nop - nop - nop - nop - nop .section .text .global trap_entry @@ -53,9 +46,8 @@ trap_entry: lw x31, 0*4(sp) addi sp,sp,16*4 mret - .text - +.text crt_init: la sp, _estack - 4 la a0, trap_entry @@ -87,5 +79,5 @@ bss_done: csrw mie,a0 call main -infinit_loop: - j infinit_loop +infinite_loop: + j infinite_loop |
