summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-11-17 12:12:42 +0100
committerMartin L Roth <gaumless@gmail.com>2022-11-30 16:37:30 +0000
commitb24f48db7dcc3baa580fa547c6b7b717ae718228 (patch)
treed7491bbf4710fc8f37e3875d557ace2deefc8796
parentfa2feae3d6e537cdc9d18d5128ae8fae7d17e487 (diff)
downloadcoreboot-b24f48db7dcc3baa580fa547c6b7b717ae718228.tar.gz
coreboot-b24f48db7dcc3baa580fa547c6b7b717ae718228.tar.bz2
coreboot-b24f48db7dcc3baa580fa547c6b7b717ae718228.zip
arch/arm/armv7: Disable generating neon FPU code
By default clang generates code with neon instructions. These are not supported on all arm targets so default to fpu=none. Change-Id: I48fc505107d131466be39f466151df62b2d2bd0b Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69745 Reviewed-by: Martin L Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/arch/arm/armv7/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/arm/armv7/Makefile.inc b/src/arch/arm/armv7/Makefile.inc
index d9f78e5f8456..53261eee9485 100644
--- a/src/arch/arm/armv7/Makefile.inc
+++ b/src/arch/arm/armv7/Makefile.inc
@@ -9,6 +9,7 @@ armv7_asm_flags = -Wa,-mthumb -Wa,-mimplicit-it=always
ifeq ($(CONFIG_COMPILER_GCC),y)
armv7_asm_flags += -Wa,-mno-warn-deprecated
else # CLANG
+armv7_flags += -mfpu=none
bootblock-ld-ccopts += -target arm-eabi
verstage-ld-ccopts += -target arm-eabi
romstage-ld-ccopts += -target arm-eabi