riscv: Microchip Mi-V should use built-in atomic operations
The Mi-V implements the A extension therefore it shouldn't use the C version. The built-in version generates code with proper machine opcodes. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
parent
90b3425320
commit
3aab212920
|
@ -9,7 +9,7 @@ choice
|
|||
|
||||
config SOC_RISCV32_MIV
|
||||
bool "Microchip Mi-V system implementation"
|
||||
select ATOMIC_OPERATIONS_C
|
||||
select ATOMIC_OPERATIONS_BUILTIN
|
||||
select INCLUDE_RESET_VECTOR
|
||||
select RISCV_ISA_RV32I
|
||||
select RISCV_ISA_EXT_M
|
||||
|
|
Loading…
Reference in New Issue