boards: Enable TF-M by default for nordic SoC NS boards
Enable TF-M by default for nordic nRF5340 and nrf9160 SoC boards. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
32a1c89e2e
commit
17fd1f8fba
7 changed files with 17 additions and 90 deletions
|
@ -25,13 +25,29 @@ config NRF_SOC_SECURE_SUPPORTED
|
|||
For non-secure the functions must redirect to secure services exposed
|
||||
by the secure firmware.
|
||||
|
||||
config BUILD_WITH_TFM
|
||||
default y if TRUSTED_EXECUTION_NONSECURE
|
||||
help
|
||||
By default, if we build for a Non-Secure version of the board,
|
||||
enable building with TF-M as the Secure Execution Environment.
|
||||
|
||||
if BUILD_WITH_TFM
|
||||
|
||||
config TFM_FLASH_MERGED_BINARY
|
||||
default y
|
||||
help
|
||||
By default, if we build with TF-M, instruct build system to
|
||||
flash the combined TF-M (Secure) & Zephyr (Non Secure) image
|
||||
|
||||
config TFM_LOG_LEVEL_SILENCE
|
||||
default y if !$(dt_nodelabel_has_prop,uart1,pinctrl-names)
|
||||
depends on BUILD_WITH_TFM
|
||||
help
|
||||
Disable TF-M secure output if the uart1 node has not assigned GPIO
|
||||
pins using pinctrl.
|
||||
|
||||
endif # BUILD_WITH_TFM
|
||||
|
||||
|
||||
config NRF_MPU_FLASH_REGION_SIZE
|
||||
hex
|
||||
default 0x1000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue