Skip to content

Commit b76688d

Browse files
hakonfammbolivar-nordic
authored andcommitted
[nrf fromtree] kconfig: add name to choice option
21f0376 Facilitate extending the kconfig definition by adding names to all choices. Signed-off-by: Håkon Øye Amundsen <[email protected]> (cherry picked from commit 1852417)
1 parent 019cfc3 commit b76688d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

boot/zephyr/Kconfig

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ config SINGLE_APPLICATION_SLOT
6767
uploading a new application overwrites the one that previously
6868
occupied the area.
6969

70-
choice
70+
choice BOOT_SIGNATURE_TYPE
7171
prompt "Signature type"
7272
default BOOT_SIGNATURE_TYPE_RSA
7373

@@ -91,7 +91,7 @@ config BOOT_SIGNATURE_TYPE_ECDSA_P256
9191
bool "Elliptic curve digital signatures with curve P-256"
9292

9393
if BOOT_SIGNATURE_TYPE_ECDSA_P256
94-
choice
94+
choice BOOT_ECDSA_IMPLEMENTATION
9595
prompt "Ecdsa implementation"
9696
default BOOT_ECDSA_TINYCRYPT
9797

@@ -113,7 +113,7 @@ config BOOT_SIGNATURE_TYPE_ED25519
113113
bool "Edwards curve digital signatures using ed25519"
114114

115115
if BOOT_SIGNATURE_TYPE_ED25519
116-
choice
116+
choice BOOT_ED25519_IMPLEMENTATION
117117
prompt "Ecdsa implementation"
118118
default BOOT_ED25519_TINYCRYPT
119119
config BOOT_ED25519_TINYCRYPT
@@ -185,7 +185,7 @@ config BOOT_VALIDATE_SLOT0
185185
able to modify the flash image itself.
186186

187187
if !SINGLE_APPLICATION_SLOT
188-
choice
188+
choice BOOT_IMAGE_UPGRADE_MODE
189189
prompt "Image upgrade modes"
190190
default BOOT_SWAP_USING_MOVE if SOC_FAMILY_NRF
191191
default BOOT_SWAP_USING_SCRATCH
@@ -310,7 +310,7 @@ config BOOT_SHARE_DATA
310310
bool "Save application specific data in shared memory area"
311311
default n
312312

313-
choice
313+
choice BOOT_FAULT_INJECTION_HARDENING_PROFILE
314314
prompt "Fault injection hardening profile"
315315
default BOOT_FIH_PROFILE_OFF
316316

@@ -467,7 +467,7 @@ menuconfig MCUBOOT_SERIAL
467467

468468
if MCUBOOT_SERIAL
469469

470-
choice
470+
choice BOOT_SERIAL_DEVICE
471471
prompt "Serial device"
472472
default BOOT_SERIAL_UART if !BOARD_NRF52840DONGLE_NRF52840
473473
default BOOT_SERIAL_CDC_ACM if BOARD_NRF52840DONGLE_NRF52840
@@ -596,7 +596,7 @@ config UPDATEABLE_IMAGE_NUMBER
596596
help
597597
Enables support of multi image update.
598598

599-
choice
599+
choice BOOT_DOWNGRADE_PREVENTION_CHOICE
600600
prompt "Downgrade prevention"
601601
optional
602602

0 commit comments

Comments
 (0)