summaryrefslogtreecommitdiff
path: root/target/config/Config.in.fpu
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-10-21 05:51:42 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-10-21 05:51:42 +0200
commit368c18fc9fa36903b26db36d589baec4e4f6915e (patch)
treefe11dcd82e4da1771bc165b8b98aa11576dffbf5 /target/config/Config.in.fpu
parent0fc812292d1c91611e49b4dbcc6a27c1165b0c4c (diff)
remove unneeded split in choice and default, remove ADK_TARGET_KERNEL_VERSION (unused)
Diffstat (limited to 'target/config/Config.in.fpu')
-rw-r--r--target/config/Config.in.fpu23
1 files changed, 21 insertions, 2 deletions
diff --git a/target/config/Config.in.fpu b/target/config/Config.in.fpu
index c42d62c0a..0c3acbade 100644
--- a/target/config/Config.in.fpu
+++ b/target/config/Config.in.fpu
@@ -1,5 +1,24 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-source target/config/Config.in.fpu.choice
-source target/config/Config.in.fpu.default
+config ADK_TARGET_ARCH_ARM_WITH_NEON
+ bool "enable NEON SIMD support"
+ depends on ADK_TARGET_ARCH_ARM && ADK_TARGET_CPU_WITH_NEON
+ default y
+ help
+ Enable support for NEON SIMD CPU extensions.
+
+config ADK_TARGET_FPU
+ string
+ depends on ADK_TARGET_ARCH_ARM
+ default "vfp" if ADK_TARGET_CPU_WITH_FPU_VFP
+ default "vfpv3-fp16" if ADK_CPU_CORTEX_A5 && !ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "vfpv4" if ADK_CPU_CORTEX_A7 && !ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "vfpv3" if ADK_CPU_CORTEX_A8 && !ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "vfpv3-fp16" if ADK_CPU_CORTEX_A9 && !ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "vfpv4" if ADK_CPU_CORTEX_A15 && !ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "neon-fp16" if ADK_CPU_CORTEX_A5 && ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "neon-vfpv4" if ADK_CPU_CORTEX_A7 && ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "neon" if ADK_CPU_CORTEX_A8 && ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "neon-fp16" if ADK_CPU_CORTEX_A9 && ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "neon-vfpv4" if ADK_CPU_CORTEX_A15 && ADK_TARGET_ARCH_ARM_WITH_NEON