aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-08-17 21:29:51 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-08-18 11:00:51 +0200
commitb8a8263858e68474af1a0b0fb7925f256f7fd70e (patch)
tree94aca40559c07a343067cbc93ee2376eed94f98f /arch
parentb63ede67eaa026c8229c3b1fde845a2ace86011b (diff)
downloadbuildroot-b8a8263858e68474af1a0b0fb7925f256f7fd70e.tar.gz
buildroot-b8a8263858e68474af1a0b0fb7925f256f7fd70e.tar.bz2
arch/arm: always has atomic ops
armv6 and above all have one sort of atomic ops or another. For armv5 and below, they are emulated, either as a kernel trap, a kernel VDSO, or compiler intrinsics. Aarch64 is just armv8, so make it a single commit. ;-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Anton Kolesov <Anton.Kolesov@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in.aarch643
-rw-r--r--arch/Config.in.arm3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/Config.in.aarch64 b/arch/Config.in.aarch64
index 4c68a378c2..2e79870b34 100644
--- a/arch/Config.in.aarch64
+++ b/arch/Config.in.aarch64
@@ -3,3 +3,6 @@ config BR2_ARCH
config BR2_ENDIAN
default "LITTLE"
+
+config BR2_ARCH_HAS_ATOMICS
+ default y
diff --git a/arch/Config.in.arm b/arch/Config.in.arm
index 4cc41f10a1..e404a505f5 100644
--- a/arch/Config.in.arm
+++ b/arch/Config.in.arm
@@ -340,6 +340,9 @@ config BR2_ENDIAN
default "LITTLE" if BR2_arm
default "BIG" if BR2_armeb
+config BR2_ARCH_HAS_ATOMICS
+ default y
+
config BR2_GCC_TARGET_CPU
default "arm920" if BR2_arm920
default "arm920t" if BR2_arm920t