arch/Config.in.arm: support thumb2 instructions for ARMv8 in 32bit mode
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 7 Dec 2016 09:25:22 +0000 (10:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 8 Dec 2016 21:32:17 +0000 (22:32 +0100)
The ARMv8 cores all support thumb2 instructions when running in aarch32 mode.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/Config.in.arm

index 6ec6029d3bb1e154153fb6f061640891e9384d8a..2617976f135e095231167ce0a3246ec00cbe9dac 100644 (file)
@@ -195,6 +195,7 @@ config BR2_cortex_a53
        bool "cortex-A53"
        select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
        select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
+       select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
        select BR2_ARM_CPU_HAS_FP_ARMV8
        select BR2_ARM_CPU_ARMV8
        select BR2_ARCH_HAS_MMU_OPTIONAL
@@ -202,6 +203,7 @@ config BR2_cortex_a57
        bool "cortex-A57"
        select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
        select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
+       select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
        select BR2_ARM_CPU_HAS_FP_ARMV8
        select BR2_ARM_CPU_ARMV8
        select BR2_ARCH_HAS_MMU_OPTIONAL
@@ -209,6 +211,7 @@ config BR2_cortex_a72
        bool "cortex-A72"
        select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64
        select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64
+       select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64
        select BR2_ARM_CPU_HAS_FP_ARMV8
        select BR2_ARM_CPU_ARMV8
        select BR2_ARCH_HAS_MMU_OPTIONAL