Explicitly disable FPU, MVE and DSP support
In the secure world. NS can be configured as normal using preload_ns.
Change-Id: I0ae795792382ff56006bded9fe1c75083b8d7a6a
Signed-off-by: Raef Coles <raef.coles@arm.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 40882c2..6bfafb1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,16 @@
include(platform/ext/target/${TFM_PLATFORM}/preload.cmake)
endif()
+if(TFM_SYSTEM_FP)
+ message(FATAL_ERROR "Hardware FPU is currently not supported in TF-M")
+endif()
+if(TFM_SYSTEM_MVE)
+ message(FATAL_ERROR "Hardware MVE is currently not supported in TF-M")
+endif()
+if(TFM_SYSTEM_DSP)
+ message(FATAL_ERROR "Hardware DSP is currently not supported in TF-M")
+endif()
+
include(config/set_config.cmake)
if(NOT ${CMAKE_GENERATOR} STREQUAL "Unix Makefiles" AND