summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.cpu1
-rw-r--r--target/config/Config.in.float12
-rw-r--r--target/config/Config.in.fpu3
3 files changed, 13 insertions, 3 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index b270ebebc..7d24b3d79 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -1959,6 +1959,7 @@ config ADK_TARGET_CPU_TYPE
default "cortex_a17" if ADK_TARGET_CPU_ARM_CORTEX_A17
default "cortex_m3" if ADK_TARGET_CPU_ARM_CORTEX_M3
default "cortex_m4" if ADK_TARGET_CPU_ARM_CORTEX_M4
+ default "cortex_m7" if ADK_TARGET_CPU_ARM_CORTEX_M7
default "arm1176jzf_s" if ADK_TARGET_CPU_ARM_ARM1176JZF_S
default "arm926ej_s" if ADK_TARGET_CPU_ARM_ARM926EJ_S
default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE
diff --git a/target/config/Config.in.float b/target/config/Config.in.float
index 693010633..8a17873c4 100644
--- a/target/config/Config.in.float
+++ b/target/config/Config.in.float
@@ -11,7 +11,15 @@ depends on ADK_TARGET_ARCH_ARM || \
config ADK_TARGET_HARD_FLOAT
bool "hard-float"
- depends on ADK_TARGET_CPU_WITH_FPU
+ depends on ADK_TARGET_CPU_WITH_FPU && !ADK_TARGET_CPU_WITH_FPU_FPV5
+
+config ADK_TARGET_HARD_FLOAT_SP
+ bool "hard-float-single-precision"
+ depends on ADK_TARGET_CPU_WITH_FPU && ADK_TARGET_CPU_WITH_FPU_FPV5
+
+config ADK_TARGET_HARD_FLOAT_DP
+ bool "hard-float-double-precision"
+ depends on ADK_TARGET_CPU_WITH_FPU && ADK_TARGET_CPU_WITH_FPU_FPV5
config ADK_TARGET_SOFT_FLOAT
bool "soft-float"
@@ -26,6 +34,6 @@ config ADK_TARGET_FLOAT
string
depends on !ADK_TARGET_ARCH_M68K \
&& !ADK_TARGET_ARCH_NIOS2
- default "hard" if ADK_TARGET_HARD_FLOAT
+ default "hard" if ADK_TARGET_HARD_FLOAT || ADK_TARGET_HARD_FLOAT_SP || ADK_TARGET_HARD_FLOAT_DP
default "soft" if ADK_TARGET_SOFT_FLOAT
default "softfp" if ADK_TARGET_SOFTFP_FLOAT
diff --git a/target/config/Config.in.fpu b/target/config/Config.in.fpu
index 9b6c396f7..1ea04be3e 100644
--- a/target/config/Config.in.fpu
+++ b/target/config/Config.in.fpu
@@ -18,7 +18,8 @@ config ADK_TARGET_FPU
default "vfpv3-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A9 && !ADK_TARGET_ARCH_ARM_WITH_NEON
default "vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A15 && !ADK_TARGET_ARCH_ARM_WITH_NEON
default "fpv4-sp-d16" if ADK_TARGET_CPU_ARM_CORTEX_M4
- default "fpv5-sp-d16" if ADK_TARGET_CPU_ARM_CORTEX_M7
+ default "fpv5-sp-d16" if ADK_TARGET_CPU_ARM_CORTEX_M7 && ADK_TARGET_HARD_FLOAT_SP
+ default "fpv5-d16" if ADK_TARGET_CPU_ARM_CORTEX_M7 && ADK_TARGET_HARD_FLOAT_DP
default "neon-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A5 && ADK_TARGET_ARCH_ARM_WITH_NEON
default "neon-vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A7 && ADK_TARGET_ARCH_ARM_WITH_NEON
default "neon" if ADK_TARGET_CPU_ARM_CORTEX_A8 && ADK_TARGET_ARCH_ARM_WITH_NEON