soc: nordic_nrf: Enable the TF-M NS storage partition for nordic boards

Enable the TF-M NS storage partition for nordic boards.
This partition is otherwise not used, and configured as secure.

Fixes: #59376

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2023-12-07 15:05:13 +01:00 committed by Carles Cufí
commit 08413e1fb8
2 changed files with 8 additions and 0 deletions

View file

@ -25,4 +25,8 @@ if(CONFIG_BUILD_WITH_TFM)
set_property(TARGET zephyr_property_target
APPEND PROPERTY TFM_CMAKE_OPTIONS -DZEPHYR_BASE=${ZEPHYR_BASE}
)
set_property(TARGET zephyr_property_target
APPEND PROPERTY TFM_CMAKE_OPTIONS -DNRF_NS_STORAGE=${CONFIG_TFM_NRF_NS_STORAGE}
)
endif()

View file

@ -45,6 +45,10 @@ config TFM_LOG_LEVEL_SILENCE
Disable TF-M secure output if the uart1 node has not assigned GPIO
pins using pinctrl.
config TFM_NRF_NS_STORAGE
bool "TF-M non-secure storage partition"
default y
endif # BUILD_WITH_TFM