summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.fpu.choice2
-rw-r--r--target/config/Config.in.fpu.default1
2 files changed, 2 insertions, 1 deletions
diff --git a/target/config/Config.in.fpu.choice b/target/config/Config.in.fpu.choice
index 47ac22ddd..ace66dc4a 100644
--- a/target/config/Config.in.fpu.choice
+++ b/target/config/Config.in.fpu.choice
@@ -3,7 +3,7 @@
config ADK_TARGET_ARCH_ARM_WITH_NEON
bool "enable NEON SIMD support"
- depends on ADK_TARGET_ARCH_ARM
+ depends on ADK_TARGET_ARCH_ARM && ADK_TARGET_CPU_WITH_NEON
default n
help
Enable support for NEON SIMD CPU extensions.
diff --git a/target/config/Config.in.fpu.default b/target/config/Config.in.fpu.default
index 55c00e0a5..2a2eab4a0 100644
--- a/target/config/Config.in.fpu.default
+++ b/target/config/Config.in.fpu.default
@@ -4,6 +4,7 @@
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