arch: arm: cortex_m: restrict usage of atomic_operations_c for Cortex-m0/+
Armv8-m baseline support various instruction carrying exclusive-monitor and acquire-release semantic. By adding this guard we let armv8-m.baseline fall-back to arch defined or compiler built-in support for atomic operations. Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
This commit is contained in:
parent
6661f05daf
commit
8fe6150e0c
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ config CPU_CORTEX_M_HAS_CMSE
|
||||||
|
|
||||||
config ARMV6_M_ARMV8_M_BASELINE
|
config ARMV6_M_ARMV8_M_BASELINE
|
||||||
bool
|
bool
|
||||||
select ATOMIC_OPERATIONS_C
|
select ATOMIC_OPERATIONS_C if !ARMV8_M_BASELINE
|
||||||
select ISA_THUMB2
|
select ISA_THUMB2
|
||||||
help
|
help
|
||||||
This option signifies the use of an ARMv6-M processor
|
This option signifies the use of an ARMv6-M processor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue