summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-03-24 19:50:36 (GMT)
committerRob Herring <robh@kernel.org>2017-03-24 19:51:06 (GMT)
commit7afac33948fdf5cc2bb7fbb84b331d888c5aa570 (patch)
treec0ed35234c17f579db48f4a4a5784c620cfe71d5
parentc35164368195377eb71db1731094d5c7f5cf5cfc (diff)
downloadandroid-device-linaro-generic-7afac33948fdf5cc2bb7fbb84b331d888c5aa570.tar.gz
android-device-linaro-generic-7afac33948fdf5cc2bb7fbb84b331d888c5aa570.tar.xz
kconfig: Add option to enable NEON on ARM builds
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index b1290bb..fa81a79 100644
--- a/Kconfig
+++ b/Kconfig
@@ -22,6 +22,11 @@ endchoice
config 64_BIT
bool
+config HAS_ARM_NEON
+ bool "Enable ARM Neon Support"
+ depends on ARCH_ARM
+ default y
+
config HAS_2ND_ARCH
bool "Include 2nd Arch" if 64_BIT
default y
@@ -35,6 +40,7 @@ config TARGET_ARCH
config TARGET_ARCH_VARIANT
string
default "armv7-a" if ARCH_ARM
+ default "armv7-a-neon" if HAS_ARM_NEON
default "armv8-a" if ARCH_ARM64
default "x86_64" if ARCH_X86_64