Skip to content

Commit c0dbb81

Browse files
oyvindronningstadioannisg
authored andcommitted
[nrf fromlist] Kconfig.tfm: Add TFM_MCUBOOT_IMAGE_NUMBER config
Controlling the number of images in TFM's BL2/mcuboot. Upstream PR: zephyrproject-rtos/zephyr#31913 Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
1 parent 92e598e commit c0dbb81

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/Kconfig.tfm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ config TFM_BL2_FALSE
104104

105105
endchoice
106106

107+
config TFM_MCUBOOT_IMAGE_NUMBER
108+
int "Granularity of FW updates of TFM and app"
109+
range 1 2
110+
default 2
111+
help
112+
How many images the bootloader sees when it looks at TFM and the app.
113+
When this is 1, the S and NS are considered as 1 image and must be
114+
updated in one atomic operation. When this is 2, they are split and
115+
can be updated independently if dependency requirements are met.
116+
107117
config TFM_IPC
108118
bool "IPC"
109119
help

0 commit comments

Comments
 (0)