From a5152f0cb0fcd496a9dabca4a1e07be98fed5679 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 18 Mar 2016 22:08:03 +0100 Subject: [PATCH] arch/arm: introduce and use BR2_ARM_CPU_ARMV7M All ARM cores should select a BR2_ARM_CPU_* option. Currently, the cortex-m3 does not, which this commit fixes by introducing a BR2_ARM_CPU_ARMV7M option. Signed-off-by: Thomas Petazzoni Acked-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- arch/Config.in.arm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index 04f0369c0b..33f763a306 100644 --- a/arch/Config.in.arm +++ b/arch/Config.in.arm @@ -52,6 +52,9 @@ config BR2_ARM_CPU_ARMV6 config BR2_ARM_CPU_ARMV7A bool +config BR2_ARM_CPU_ARMV7M + bool + choice prompt "Target Architecture Variant" depends on BR2_arm || BR2_armeb @@ -171,6 +174,7 @@ config BR2_cortex_m3 bool "cortex-M3" select BR2_ARM_CPU_HAS_THUMB select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7M config BR2_fa526 bool "fa526/626" select BR2_ARM_CPU_HAS_ARM -- 2.30.2