summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Flax <flatmax@flatmax.org>2016-11-30 22:12:10 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-05 23:07:13 +0100
commit785a73fb8f64d14c68b0c035aa40b203a2a17378 (patch)
tree8c2c8dc3d90755e29098ea012cac0e1af00d5f2d
parent5e8cb2ee759780c38e06aa8e83d98bb1f2943cc2 (diff)
downloadbuildroot-785a73fb8f64d14c68b0c035aa40b203a2a17378.tar.gz
buildroot-785a73fb8f64d14c68b0c035aa40b203a2a17378.zip
arch/Config.in.arm: Add Cortex-A53 CPU
Adds the Cortex-A53 CPU to the target architecture variant choice. This sets the toolchain to use Cortex-A53 as the target. The effect is that various Cortex-A53 tunings are enabled for the compilation of packages. Signed-off-by: Matt Flax <flatmax@flatmax.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--arch/Config.in.arm10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/Config.in.arm b/arch/Config.in.arm
index c98efcd03f..592b0970ba 100644
--- a/arch/Config.in.arm
+++ b/arch/Config.in.arm
@@ -191,6 +191,13 @@ config BR2_cortex_a17
select BR2_ARM_CPU_ARMV7A
select BR2_ARCH_HAS_MMU_OPTIONAL
depends on !BR2_ARCH_IS_64
+config BR2_cortex_a53
+ bool "cortex-A53"
+ select BR2_ARM_CPU_HAS_ARM
+ select BR2_ARM_CPU_HAS_NEON
+ select BR2_ARM_CPU_HAS_FP_ARMV8
+ select BR2_ARM_CPU_ARMV8
+ select BR2_ARCH_HAS_MMU_OPTIONAL
config BR2_cortex_m3
bool "cortex-M3"
select BR2_ARM_CPU_HAS_THUMB2
@@ -510,6 +517,9 @@ config BR2_GCC_TARGET_CPU
default "strongarm" if BR2_strongarm
default "xscale" if BR2_xscale
default "iwmmxt" if BR2_iwmmxt
+ default "cortex-a53" if (BR2_cortex_a53 && !BR2_ARCH_IS_64)
+ default "cortex-a53+fp" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8)
+ default "cortex-a53+fp+simd" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
config BR2_GCC_TARGET_ABI
default "aapcs-linux" if BR2_arm || BR2_armeb
OpenPOWER on IntegriCloud