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:
parent
6c9ff66e5f
commit
08413e1fb8
2 changed files with 8 additions and 0 deletions
|
@ -25,4 +25,8 @@ if(CONFIG_BUILD_WITH_TFM)
|
||||||
set_property(TARGET zephyr_property_target
|
set_property(TARGET zephyr_property_target
|
||||||
APPEND PROPERTY TFM_CMAKE_OPTIONS -DZEPHYR_BASE=${ZEPHYR_BASE}
|
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()
|
endif()
|
||||||
|
|
|
@ -45,6 +45,10 @@ config TFM_LOG_LEVEL_SILENCE
|
||||||
Disable TF-M secure output if the uart1 node has not assigned GPIO
|
Disable TF-M secure output if the uart1 node has not assigned GPIO
|
||||||
pins using pinctrl.
|
pins using pinctrl.
|
||||||
|
|
||||||
|
config TFM_NRF_NS_STORAGE
|
||||||
|
bool "TF-M non-secure storage partition"
|
||||||
|
default y
|
||||||
|
|
||||||
endif # BUILD_WITH_TFM
|
endif # BUILD_WITH_TFM
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue