summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-04-10 16:23:05 +0200
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-04-10 16:23:05 +0200
commit5ba5e880086a6fd9464a26548c4b81ad2f9e1afe (patch)
tree5b5752caf25f5aa928ec004c72034a1b4c9e01b5
parent8e17e484312946d2c15224f846499e2178dfb7df (diff)
fix rpi fpu configuration
-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