Skip to content

Commit 2398b10

Browse files
committed
mcuboot: Move boot preference Kconfig
Move NCS_MCUBOOT_BOOT_REQUEST_TEST_SETS_BOOT_PREFERENCE since it is an application Kconfig, not a bootloader one. Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent ef91358 commit 2398b10

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

modules/mcuboot/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,15 @@ config NRF_MCUBOOT_BOOT_REQUEST_IMPL_RETENTION
101101

102102
endchoice
103103

104+
config NCS_MCUBOOT_BOOT_REQUEST_TEST_SETS_BOOT_PREFERENCE
105+
bool "Set boot preference if a slot is marked for test"
106+
help
107+
This option allows to verify boot preference requests through issuing
108+
the image test.
109+
Using this option is not recommended in production systems, because
110+
it will boot any newly transferred image, even if it has a lower
111+
version than the current one.
112+
The rollback protection (using security counters) will still be
113+
effective.
114+
104115
endif # NRF_MCUBOOT_BOOT_REQUEST

0 commit comments

Comments
 (0)