powerpc: add power{4,5,6,7,8} cpus
authorCody P Schafer <cody@linux.vnet.ibm.com>
Tue, 13 May 2014 05:28:19 +0000 (22:28 -0700)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 26 May 2014 19:18:10 +0000 (21:18 +0200)
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arch/Config.in.powerpc

index 66ca8831ab030928b14e873bba6be5b427c51cd9..9a7b2b7caf0458e5083ef4a2cfa9b0b1e8d65dfe 100644 (file)
@@ -110,6 +110,19 @@ config BR2_powerpc_e300c3
 config BR2_powerpc_e500mc
        bool "e500mc"
        depends on !BR2_ARCH_IS_64
+config BR2_powerpc_power4
+       bool "power4"
+config BR2_powerpc_power5
+       bool "power5"
+config BR2_powerpc_power6
+       bool "power6"
+       select BR2_POWERPC_CPU_HAS_ALTIVEC
+config BR2_powerpc_power7
+       bool "power7"
+       select BR2_POWERPC_CPU_HAS_ALTIVEC
+config BR2_powerpc_power8
+       bool "power8"
+       select BR2_POWERPC_CPU_HAS_ALTIVEC
 endchoice
 
 choice
@@ -178,6 +191,11 @@ config BR2_GCC_TARGET_TUNE
        default "e300c2"        if BR2_powerpc_e300c2
        default "e300c3"        if BR2_powerpc_e300c3
        default "e500mc"        if BR2_powerpc_e500mc
+       default "power4"        if BR2_powerpc_power4
+       default "power5"        if BR2_powerpc_power5
+       default "power6"        if BR2_powerpc_power6
+       default "power7"        if BR2_powerpc_power7
+       default "power8"        if BR2_powerpc_power8
 
 config BR2_GCC_TARGET_ABI
        default "altivec"               if BR2_PPC_ABI_altivec