aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-12-09 14:52:10 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-01-31 15:44:46 -0500
commitbc7dea00a9a0ea385bbc4aed67dfdcf7d8879953 (patch)
tree242257c7c0a016595b672b3151abdf71ec5745a2 /arch/arm/Kconfig
parentb849a60e0903b1c5430c3859864554662e127a8d (diff)
ARM: let CPUs not being able to run in ARM mode enter in THUMB mode
Some ARM cores are not capable to run in ARM mode (e.g. Cortex-M3). So obviously these cannot enter the kernel in ARM mode. Make an exception for them and let them enter in THUMB mode. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Message-Id: 1358162123-30113-1-git-send-email-u.kleine-koenig@pengutronix.de Acked-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 67874b82a4ed..e04c7793f47e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1656,8 +1656,9 @@ config HZ
1656 default 100 1656 default 100
1657 1657
1658config THUMB2_KERNEL 1658config THUMB2_KERNEL
1659 bool "Compile the kernel in Thumb-2 mode" 1659 bool "Compile the kernel in Thumb-2 mode" if !CPU_THUMBONLY
1660 depends on CPU_V7 && !CPU_V6 && !CPU_V6K 1660 depends on CPU_V7 && !CPU_V6 && !CPU_V6K
1661 default y if CPU_THUMBONLY
1661 select AEABI 1662 select AEABI
1662 select ARM_ASM_UNIFIED 1663 select ARM_ASM_UNIFIED
1663 select ARM_UNWIND 1664 select ARM_UNWIND