Skip to content

Commit 9377fa0

Browse files
maxd-nordicjfischer-no
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]> Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit d0b22f5)
1 parent b923938 commit 9377fa0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

boards/arm/nrf9131ek_nrf9131/Kconfig.defconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ if BOARD_NRF9131EK_NRF9131 || BOARD_NRF9131EK_NRF9131_NS
88
config BOARD
99
default "nrf9131ek_nrf9131"
1010

11+
12+
# By default, if we build for a Non-Secure version of the board,
13+
# enable building with TF-M as the Secure Execution Environment.
14+
config BUILD_WITH_TFM
15+
default y if BOARD_NRF9131EK_NRF9131_NS
16+
17+
if BUILD_WITH_TFM
18+
19+
# By default, if we build with TF-M, instruct build system to
20+
# flash the combined TF-M (Secure) & Zephyr (Non Secure) image
21+
config TFM_FLASH_MERGED_BINARY
22+
bool
23+
default y
24+
25+
endif # BUILD_WITH_TFM
26+
1127
# For the secure version of the board the firmware is linked at the beginning
1228
# of the flash, or into the code-partition defined in DT if it is intended to
1329
# be loaded by MCUboot. If the secure firmware is to be combined with a non-

0 commit comments

Comments
 (0)