From 87f4d5a926e3b3cacbd0b9136a18b9d16a112ceb Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Tue, 21 Feb 2012 09:17:18 -0800 Subject: [PATCH] Enable TLS register by default for ARMv7a arch Everything that is based on ARMv7a should have a cp15 TLS register. Enable it by default so it's not accidentally missed in newer board configurations. In fact, this could be enabled for ARMv6 as well, but we currently don't distinguish between ARMv5 and ARMv6 in the build system. This can still be disabled by setting it to "false" in the board configuration, but this shouldn't ever be needed. Change-Id: Ic2918f32899c8bcfa482f92c98f5a192fa318470 --- core/combo/arch/arm/armv7-a-neon.mk | 1 + core/combo/arch/arm/armv7-a.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/core/combo/arch/arm/armv7-a-neon.mk b/core/combo/arch/arm/armv7-a-neon.mk index 7b5b8ed64..32273ff50 100644 --- a/core/combo/arch/arm/armv7-a-neon.mk +++ b/core/combo/arch/arm/armv7-a-neon.mk @@ -8,6 +8,7 @@ ARCH_ARM_HAVE_HALFWORD_MULTIPLY := true ARCH_ARM_HAVE_CLZ := true ARCH_ARM_HAVE_FFS := true ARCH_ARM_HAVE_ARMV7A := true +ARCH_ARM_HAVE_TLS_REGISTER := true ARCH_ARM_HAVE_VFP := true ARCH_ARM_HAVE_VFP_D32 := true ARCH_ARM_HAVE_NEON := true diff --git a/core/combo/arch/arm/armv7-a.mk b/core/combo/arch/arm/armv7-a.mk index 0ca3ec6c0..220f7ec5e 100644 --- a/core/combo/arch/arm/armv7-a.mk +++ b/core/combo/arch/arm/armv7-a.mk @@ -8,6 +8,7 @@ ARCH_ARM_HAVE_HALFWORD_MULTIPLY := true ARCH_ARM_HAVE_CLZ := true ARCH_ARM_HAVE_FFS := true ARCH_ARM_HAVE_ARMV7A := true +ARCH_ARM_HAVE_TLS_REGISTER := true ARCH_ARM_HAVE_VFP := true # Note: Hard coding the 'tune' value here is probably not ideal,