Skip to content

Commit 797a60e

Browse files
maxd-nordicrlubos
authored andcommitted
[nrf noup] boards: arm: nrf9131ek: enable tfm
This patch backports the nrf9131ek to a time before tfm was refactored. To be reverted when TF-M is updated. Signed-off-by: Maximilian Deubel <[email protected]> (cherry picked from commit ca2646b)
1 parent c1643fa commit 797a60e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

boards/nordic/nrf9131ek/Kconfig.defconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,22 @@ config HW_STACK_PROTECTION
88

99
config BOARD_NRF9131EK
1010
select USE_DT_CODE_PARTITION if BOARD_NRF9131EK_NRF9131_NS
11+
12+
if BOARD_NRF9131EK_NRF9131 || BOARD_NRF9131EK_NRF9131_NS
13+
14+
# By default, if we build for a Non-Secure version of the board,
15+
# enable building with TF-M as the Secure Execution Environment.
16+
config BUILD_WITH_TFM
17+
default y if BOARD_NRF9131EK_NRF9131_NS
18+
19+
if BUILD_WITH_TFM
20+
21+
# By default, if we build with TF-M, instruct build system to
22+
# flash the combined TF-M (Secure) & Zephyr (Non Secure) image
23+
config TFM_FLASH_MERGED_BINARY
24+
bool
25+
default y
26+
27+
endif # BUILD_WITH_TFM
28+
29+
endif # BOARD_NRF9131EK_NRF9131 || BOARD_NRF9131EK_NRF9131_NS

0 commit comments

Comments
 (0)