[U-Boot] [PATCH] powerpc/86xx: Pass -mcpu=7400 to GCC

Without this, GCC uses the toolchain default, which may be incompatible with -maltivec.
Signed-off-by: Scott Wood oss@buserror.net --- arch/powerpc/cpu/mpc86xx/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/cpu/mpc86xx/config.mk b/arch/powerpc/cpu/mpc86xx/config.mk index 69a0b96..aefb0f1 100644 --- a/arch/powerpc/cpu/mpc86xx/config.mk +++ b/arch/powerpc/cpu/mpc86xx/config.mk @@ -5,4 +5,4 @@ # SPDX-License-Identifier: GPL-2.0+ #
-PLATFORM_CPPFLAGS += -mstring -maltivec -mabi=altivec -msoft-float +PLATFORM_CPPFLAGS += -mcpu=7400 -mstring -maltivec -mabi=altivec -msoft-float

On 07/19/2016 02:26 PM, Scott Wood wrote:
Without this, GCC uses the toolchain default, which may be incompatible with -maltivec.
Signed-off-by: Scott Wood oss@buserror.net
arch/powerpc/cpu/mpc86xx/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to mpc86xx master. Awaiting upstream. Thanks.
York
participants (2)
-
Scott Wood
-
york sun