]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/64: Replace -mcpu=e500mc64 by -mcpu=e5500
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 19 Dec 2022 18:45:58 +0000 (19:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:34:07 +0000 (13:34 +0100)
commit f7b658b097c01a173b75ac7e9b067b012e5863e1 upstream.

E500MC64 is a processor pre-dating E5500 that has never been
commercialised. Use -mcpu=e5500 for E5500 core.

More details at https://gcc.gnu.org/PR108149

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/fa71ed20d22c156225436374f0ab847daac893bc.1671475543.git.christophe.leroy@csgroup.eu
Cc: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/Kconfig.cputype

index 47fd51e6577771d7b1bba11c1dcbfbf9600f086c..54d655a647cec78b99e43c6ec37f56e3c3a3e409 100644 (file)
@@ -252,7 +252,7 @@ config TARGET_CPU
        default "power8" if POWER8_CPU
        default "power9" if POWER9_CPU
        default "power10" if POWER10_CPU
-       default "e500mc64" if E5500_CPU
+       default "e5500" if E5500_CPU
        default "e6500" if E6500_CPU
        default "power4" if POWERPC64_CPU && !CPU_LITTLE_ENDIAN
        default "power8" if POWERPC64_CPU && CPU_LITTLE_ENDIAN