arch/arm: add the cortex A17 variant supported by gcc 5.x
authorEzequiel García <ezequiel@vanguardiasur.com.ar>
Sun, 21 Feb 2016 13:12:10 +0000 (10:12 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 22 Feb 2016 08:31:42 +0000 (09:31 +0100)
Add the Cortex A17 variant. This core is considered a replacement
of the Cortex A12 and is supported by gcc 5 / binutils 2.25+

Suggested-by: Ross Green <greenfross@netscape.net>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arch/Config.in.arm
package/binutils/Config.in.host
package/gcc/Config.in.host

index 2b34f42850cf5ef86a7aa1e5bfd4ee0308904dea..04f0369c0b975d58289ae1271fe2de2feb276b80 100644 (file)
@@ -159,6 +159,14 @@ config BR2_cortex_a15
        select BR2_ARM_CPU_HAS_THUMB2
        select BR2_ARM_CPU_ARMV7A
        select BR2_ARCH_HAS_MMU_OPTIONAL
+config BR2_cortex_a17
+       bool "cortex-A17"
+       select BR2_ARM_CPU_HAS_ARM
+       select BR2_ARM_CPU_HAS_NEON
+       select BR2_ARM_CPU_HAS_VFPV4
+       select BR2_ARM_CPU_HAS_THUMB2
+       select BR2_ARM_CPU_ARMV7A
+       select BR2_ARCH_HAS_MMU_OPTIONAL
 config BR2_cortex_m3
        bool "cortex-M3"
        select BR2_ARM_CPU_HAS_THUMB
@@ -442,6 +450,7 @@ config BR2_GCC_TARGET_CPU
        default "cortex-a9"     if BR2_cortex_a9
        default "cortex-a12"    if BR2_cortex_a12
        default "cortex-a15"    if BR2_cortex_a15
+       default "cortex-a17"    if BR2_cortex_a17
        default "cortex-m3"     if BR2_cortex_m3
        default "fa526"         if BR2_fa526
        default "marvell-pj4"   if BR2_pj4
index df3c385de5ad59636e5a64aaf031b3a7a23fbde1..07574e42ca8aebd6832a308f460d56e1d4e85e6d 100644 (file)
@@ -12,6 +12,8 @@ choice
                           !BR2_powerpc64le && !BR2_nios2
                # Unsupported for MIPS R6
                depends on !BR2_mips_32r6 && !BR2_mips_64r6
+               # Unsupported ARM cores
+               depends on !BR2_cortex_a17
                bool "binutils 2.23.2"
 
        config BR2_BINUTILS_VERSION_2_24_X
@@ -19,6 +21,8 @@ choice
                depends on !BR2_nios2 && !BR2_powerpc64le
                # Unsupported for MIPS R6
                depends on !BR2_mips_32r6 && !BR2_mips_64r6
+               # Unsupported ARM cores
+               depends on !BR2_cortex_a17
                bool "binutils 2.24"
 
        config BR2_BINUTILS_VERSION_2_25_X
index cad6896b44cc53bea5c7a07a4ba9e78ac0902c60..560ea521041835889a9615e168b32ae6e42ad28b 100644 (file)
@@ -21,7 +21,8 @@ choice
                        && !BR2_powerpc64le && !BR2_nios2
                # Broken or unsupported ARM cores
                depends on !BR2_cortex_a7 && !BR2_cortex_a12 && \
-                       !BR2_cortex_a15 && !BR2_fa526 && !BR2_pj4
+                       !BR2_cortex_a15 && !BR2_cortex_a17 && \
+                       !BR2_fa526 && !BR2_pj4
                # Broken or unsupported PPC cores
                depends on !BR2_powerpc_e5500 && !BR2_powerpc_e6500 && \
                        !BR2_powerpc_power8
@@ -44,7 +45,7 @@ choice
                depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
                        && !BR2_powerpc64le && !BR2_nios2
                # Broken or unsupported ARM cores
-               depends on !BR2_cortex_a12 && !BR2_pj4
+               depends on !BR2_cortex_a12 && !BR2_pj4 && !BR2_cortex_a17
                # Broken or unsupported PPC cores
                depends on !BR2_powerpc_e5500 && !BR2_powerpc_e6500 && \
                        !BR2_powerpc_power8
@@ -63,7 +64,7 @@ choice
                depends on !BR2_microblaze && !BR2_arc \
                        && !BR2_powerpc64le && !BR2_nios2
                # Broken or unsupported ARM cores
-               depends on !BR2_cortex_a12
+               depends on !BR2_cortex_a12 && !BR2_cortex_a17
                # Broken or unsupported PPC cores
                depends on !BR2_powerpc_power8
                # gcc-4.8.x + binutils-2.25 is broken for MIPS
@@ -86,6 +87,8 @@ choice
                bool "gcc 4.9.x"
                # Broken or unsupported architectures
                depends on !BR2_arc
+               # Broken or unsupported ARM cores
+               depends on !BR2_cortex_a17
                # Unsupported for MIPS R6
                depends on !BR2_mips_32r6 && !BR2_mips_64r6
                # PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102