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:
Nicolas Pitre 2023-05-08 11:54:03 -04:00 committed by Carles Cufí
parent 90b3425320
commit 3aab212920
1 changed files with 1 additions and 1 deletions

View File

@ -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