aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Dykes <mardyk01@review.trustedfirmware.org>2020-06-29 15:59:45 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-06-29 15:59:45 +0000
commitd6296e3a9f09fb288f93a82cf54e4a25d2dd9faa (patch)
tree9e2da07f227a60963ea8cf4e3de270630687499e
parent5d1a225716f0aef2382c8787b390426679466852 (diff)
parente4ee1ab934e24f644f16935ab2007e36cbabd361 (diff)
downloadtrusted-firmware-a-d6296e3a9f09fb288f93a82cf54e4a25d2dd9faa.tar.gz
Merge "stm32mp1: disable neon in sp_min" into integration
-rw-r--r--plat/st/stm32mp1/platform.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/plat/st/stm32mp1/platform.mk b/plat/st/stm32mp1/platform.mk
index b0ba82abf..999823617 100644
--- a/plat/st/stm32mp1/platform.mk
+++ b/plat/st/stm32mp1/platform.mk
@@ -16,6 +16,11 @@ PLAT_XLAT_TABLES_DYNAMIC := 1
$(eval $(call assert_boolean,PLAT_XLAT_TABLES_DYNAMIC))
$(eval $(call add_define,PLAT_XLAT_TABLES_DYNAMIC))
+ifeq ($(AARCH32_SP),sp_min)
+# Disable Neon support: sp_min runtime may conflict with non-secure world
+TF_CFLAGS += -mfloat-abi=soft
+endif
+
# Not needed for Cortex-A7
WORKAROUND_CVE_2017_5715:= 0