soc: st: Set BUILD_WITH_TFM by default (when required)

CONFIG_BUILD_WITH_TFM should always be set when building a non
secure target.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou 2024-03-12 18:11:34 +01:00 committed by Fabio Baltieri
parent 3a383aad6c
commit 7a7abb7b18

View file

@ -60,4 +60,7 @@ config MEMC_STM32
config USE_DT_CODE_PARTITION
default y if TRUSTED_EXECUTION_NONSECURE
config BUILD_WITH_TFM
default y if TRUSTED_EXECUTION_NONSECURE
endif # SOC_FAMILY_STM32