Commit e4ee1ab9 authored by Etienne Carriere's avatar Etienne Carriere
Browse files

stm32mp1: disable neon in sp_min



Disable use of Neon VFP support for platform stm32mp1 when
building with SP_MIN runtime services as these can conflict with
non-secure world use of NEON support. This is preferred over a
systematic backup/restore of NEON context when switching
between non-secure and secure worlds.

When NEON support is disabled, this is done for both BL2 and BL32 as
build process uses common libraries built once for both binaries.

Change-Id: I4e8808dcb6ef58fc839e6f85fd6e45cfbaa34be0
Signed-off-by: default avatarEtienne Carriere <etienne.carriere@st.com>
parent 3fbec436
...@@ -16,6 +16,11 @@ PLAT_XLAT_TABLES_DYNAMIC := 1 ...@@ -16,6 +16,11 @@ PLAT_XLAT_TABLES_DYNAMIC := 1
$(eval $(call assert_boolean,PLAT_XLAT_TABLES_DYNAMIC)) $(eval $(call assert_boolean,PLAT_XLAT_TABLES_DYNAMIC))
$(eval $(call add_define,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 # Not needed for Cortex-A7
WORKAROUND_CVE_2017_5715:= 0 WORKAROUND_CVE_2017_5715:= 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment