riscv: Use zicsr architecture extension

This is required for ISA 2.0 support, see chapter

"Zicsr", Control and Status Register (CSR) Instructions, Version 2.0

in

RISC-V Instruction Set Manual, Volume I: RISC-V User-Level ISA
This commit is contained in:
Sebastian Huber
2022-02-25 17:45:06 +01:00
parent 4b09a4c7b8
commit faaffbd913
7 changed files with 54 additions and 12 deletions

View File

@@ -39,6 +39,7 @@ PUBLIC(_start)
.section .bsp_start_text, "wax", @progbits
.align 2
.option arch, +zicsr
TYPE_FUNC(_start)
SYM(_start):