toolchain/arm: add support for Marvell PJ4
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 29 Apr 2013 08:54:24 +0000 (08:54 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 29 Apr 2013 20:22:49 +0000 (22:22 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
arch/Config.in.arm
toolchain/gcc/Config.in

index f706dcc4f67289e3ae7ddd15cf63808970edbd91..2f4c0c8778d44268499a032f224b8a8e1b06cd2f 100644 (file)
@@ -47,6 +47,8 @@ config BR2_cortex_a15
        select BR2_ARM_CPU_HAS_NEON
 config BR2_fa526
        bool "fa526/626"
+config BR2_pj4
+       bool "pj4"
 config BR2_strongarm
        bool "strongarm sa110/sa1100"
 config BR2_xscale
@@ -115,6 +117,7 @@ config BR2_GCC_TARGET_TUNE
        default "cortex-a9"     if BR2_cortex_a9
        default "cortex-a15"    if BR2_cortex_a15
        default "fa526"         if BR2_fa526
+       default "marvell-pj4"   if BR2_pj4
        default "strongarm"     if BR2_strongarm
        default "xscale"        if BR2_xscale
        default "iwmmxt"        if BR2_iwmmxt
@@ -135,6 +138,7 @@ config BR2_GCC_TARGET_ARCH
        default "armv7-a"       if BR2_cortex_a9
        default "armv7-a"       if BR2_cortex_a15
        default "armv4"         if BR2_fa526
+       default "armv7-a"       if BR2_pj4
        default "armv4"         if BR2_strongarm
        default "armv5te"       if BR2_xscale
        default "iwmmxt"        if BR2_iwmmxt
index d7e8715bd55ac0781672369c46f9367d4614391d..aae422c757f09a059b997d9ef14462a8178904f2 100644 (file)
@@ -18,25 +18,25 @@ choice
               bool "gcc 4.2.2-avr32-2.1.5"
 
        config BR2_GCC_VERSION_4_3_X
-               depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_e300c2 && !BR2_powerpc_e300c3 && !BR2_powerpc_e500mc && !BR2_powerpc_464 && !BR2_powerpc_464fp && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526
+               depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_cortex_a5 && !BR2_cortex_a8 && !BR2_cortex_a9 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_e300c2 && !BR2_powerpc_e300c3 && !BR2_powerpc_e500mc && !BR2_powerpc_464 && !BR2_powerpc_464fp && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
                bool "gcc 4.3.x"
 
        config BR2_GCC_VERSION_4_4_X
-               depends on !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526
+               depends on !BR2_avr32 && !BR2_cortex_a5 && !BR2_cortex_a15 && !BR2_x86_atom && !BR2_powerpc_476 && !BR2_powerpc_476fp && !BR2_fa526 && !BR2_pj4
                bool "gcc 4.4.x"
 
        config BR2_GCC_VERSION_4_5_X
-               depends on !BR2_avr32 && !BR2_cortex_a15 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_fa526
+               depends on !BR2_avr32 && !BR2_cortex_a15 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_fa526 && !BR2_pj4
                select BR2_GCC_NEEDS_MPC
                bool "gcc 4.5.x"
 
        config BR2_GCC_VERSION_4_6_X
-               depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
+               depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
                select BR2_GCC_NEEDS_MPC
                bool "gcc 4.6.x"
 
        config BR2_GCC_VERSION_4_7_X
-               depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8
+               depends on !BR2_avr32 && !BR2_sparc_sparchfleon && !BR2_sparc_sparchfleonv8 && !BR2_sparc_sparcsfleon && !BR2_sparc_sparcsfleonv8 && !BR2_pj4
                select BR2_GCC_NEEDS_MPC
                bool "gcc 4.7.x"