summaryrefslogtreecommitdiffstats
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-01-15 13:43:04 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-15 13:43:04 +0100
commit31551c89701c42f63d3f4352ed84e7842d0ba9fe (patch)
treec63a2791f3dafdff235f04696c0e328e08e01aab /arch/arm/Makefile
parent337e76c21f28198e29df548a0a2be6864f9c2654 (diff)
parentf17560ee7ed720ff87a031d7f387d9271d67f346 (diff)
downloadbarebox-31551c89701c42f63d3f4352ed84e7842d0ba9fe.tar.gz
barebox-31551c89701c42f63d3f4352ed84e7842d0ba9fe.tar.xz
Merge branch 'for-next/ultrascale'
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r--arch/arm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 2d55bc69a3..0fd63105d7 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -27,6 +27,10 @@ else
CFLAGS += -mstrict-align
endif
+# Prevent use of floating point and Advanced SIMD registers.
+ifeq ($(CONFIG_CPU_V8),y)
+CFLAGS += -mgeneral-regs-only
+endif
# This selects which instruction set is used.
# Note that GCC does not numerically define an architecture version
@@ -97,6 +101,7 @@ machine-$(CONFIG_ARCH_VEXPRESS) := vexpress
machine-$(CONFIG_ARCH_TEGRA) := tegra
machine-$(CONFIG_ARCH_UEMD) := uemd
machine-$(CONFIG_ARCH_ZYNQ) := zynq
+machine-$(CONFIG_ARCH_ZYNQMP) := zynqmp
machine-$(CONFIG_ARCH_QEMU) := qemu