Build: Change config_default to build minimum.
- disable all partitions
- default SPM backend is SFN
= set log level to silent
- adjust platform's CMake scripts
- to include acceleartor conditionally
- enable partitions required for some platform
Signed-off-by: Anton Komlev <anton.komlev@arm.com>
Change-Id: Icc36078c396e3a94a91fdf93d7f1bd5a46dc0d69
diff --git a/config/set_config.cmake b/config/set_config.cmake
index 804dbff..e563ed8 100644
--- a/config/set_config.cmake
+++ b/config/set_config.cmake
@@ -60,13 +60,6 @@
include(${CMAKE_SOURCE_DIR}/config/tfm_build_log_config.cmake)
-# Load TF-M model specific default config
-if (CONFIG_TFM_SPM_BACKEND STREQUAL "SFN")
- include(config/tfm_sfn_config_default.cmake)
-else() #The default backend is IPC
- include(config/tfm_ipc_config_default.cmake)
-endif()
-
# Load bl1 config
if (BL1 AND PLATFORM_DEFAULT_BL1)
include(${CMAKE_SOURCE_DIR}/bl1/config/bl1_config_default.cmake)
@@ -86,6 +79,13 @@
# Load defaults, setting options not already set
include(config/config_default.cmake)
+# Load TF-M model specific default config
+if (CONFIG_TFM_SPM_BACKEND STREQUAL "SFN")
+ include(config/tfm_sfn_config_default.cmake)
+else() #The default backend is IPC
+ include(config/tfm_ipc_config_default.cmake)
+endif()
+
# Fetch tf-m-tests repo during config, if NS or regression test is required.
# Therefore tf-m-tests configs can be set with TF-M configs since their configs
# are coupled.