From 2e2eefd5ad86b85c312f263b59b9df2d4653aaa9 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Fri, 29 Jul 2022 09:39:00 +0930 Subject: [PATCH] arch/powerpc: Add Power9 CPU type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Power9 CPU was released by IBM in 2016. It is a 64-bit CPU implementing ISA v3.0. It runs in big and little endian modes, and supports VSX and AltiVec. Power9 is supported as of GCC 6.1 and Binutils 2.26. Signed-off-by: Joel Stanley Reviewed-by: Cédric Le Goater Reviewed-by: Yann E. MORIN [Arnout: remove 64-bit constraint] Signed-off-by: Arnout Vandecappelle --- arch/Config.in.powerpc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/Config.in.powerpc b/arch/Config.in.powerpc index 949995d037..765767eca2 100644 --- a/arch/Config.in.powerpc +++ b/arch/Config.in.powerpc @@ -139,6 +139,11 @@ config BR2_powerpc_power7 config BR2_powerpc_power8 bool "power8" select BR2_POWERPC_CPU_HAS_VSX +config BR2_powerpc_power9 + bool "power9" + select BR2_POWERPC_CPU_HAS_ALTIVEC + select BR2_POWERPC_CPU_HAS_VSX + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 endchoice choice @@ -216,6 +221,7 @@ config BR2_GCC_TARGET_CPU default "power6" if BR2_powerpc_power6 default "power7" if BR2_powerpc_power7 default "power8" if BR2_powerpc_power8 + default "power9" if BR2_powerpc_power9 config BR2_READELF_ARCH_NAME default "PowerPC" if BR2_powerpc