aboutsummaryrefslogtreecommitdiff
path: root/src/target/armv7m.c
diff options
context:
space:
mode:
authorMathias K <kesmtp@freenet.de>2012-03-15 14:58:32 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2012-03-30 16:08:32 +0000
commit861df4574d351731b8651ff5cd71a6d51e491d3f (patch)
tree1f12f14de6425777df78e23a4bfb9f2738f2e2ac /src/target/armv7m.c
parent8cb4fc142067771fedb203e18262e3eb25253ed3 (diff)
armv7m: detect floating point feature
This patch add fp feature detection on cortex-m4. Change-Id: I99e9d1bf5534630a22b8ad9c878165683db2d0ba Signed-off-by: Mathias K <kesmtp@freenet.de> Reviewed-on: http://openocd.zylin.com/524 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/target/armv7m.c')
-rw-r--r--src/target/armv7m.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/armv7m.c b/src/target/armv7m.c
index 258653eb..780e81b5 100644
--- a/src/target/armv7m.c
+++ b/src/target/armv7m.c
@@ -578,6 +578,7 @@ int armv7m_init_arch_info(struct target *target, struct armv7m_common *armv7m)
struct arm *arm = &armv7m->arm;
armv7m->common_magic = ARMV7M_COMMON_MAGIC;
+ armv7m->fp_feature = FP_NONE;
arm->core_type = ARM_MODE_THREAD;
arm->arch_info = armv7m;