Build: Move more config steps to post_config.cmake
Move config steps that are shared between Kconfig system and CMake
system to post_config.cmake.
Change-Id: Ia6d39c0b6bcfb3bdcc07ea14d408229555722aa0
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
diff --git a/config/tfm_secure_log.cmake b/config/tfm_secure_log.cmake
index 48ca1d6..064b885 100644
--- a/config/tfm_secure_log.cmake
+++ b/config/tfm_secure_log.cmake
@@ -5,6 +5,9 @@
#
#-------------------------------------------------------------------------------
+set(TFM_SPM_LOG_LEVEL TFM_SPM_LOG_LEVEL_SILENCE CACHE STRING "Set default SPM log level as INFO level")
+set(TFM_PARTITION_LOG_LEVEL TFM_PARTITION_LOG_LEVEL_SILENCE CACHE STRING "Set default Secure Partition log level as INFO level")
+
# Secure regression tests also require SP log function
# Enable SP log raw dump when SP log level is higher than silence or TF-M
# regression test is enabled.