arch: arm: select LIBC_ARCH_ATOMIC when config ARCH_CHIP_RP2040

Use the common atomic operations when needed.

Signed-off-by: Matheus Castello <matheus@castello.eng.br>
This commit is contained in:
Matheus Castello 2021-12-11 13:10:50 -03:00 committed by Xiang Xiao
parent 1af8cd4de8
commit 294694bb2f

View File

@ -233,6 +233,7 @@ config ARCH_CHIP_RP2040
select ARCH_HAVE_TESTSET
select ARCH_HAVE_I2CRESET
select ARM_HAVE_WFE_SEV
select LIBC_ARCH_ATOMIC
---help---
Raspberry Pi RP2040 architectures (ARM dual Cortex-M0+).