kconfig: add name to choice option

Facilitate extending the kconfig definition by adding names to all
choices.

Signed-off-by: Håkon Øye Amundsen <haakon.amundsen@nordicsemi.no>
This commit is contained in:
Håkon Øye Amundsen 2021-11-12 08:21:31 +00:00 committed by Andrzej Puzdrowski
parent d985d22abe
commit 21f0376faa
1 changed files with 7 additions and 7 deletions

View File

@ -65,7 +65,7 @@ config SINGLE_APPLICATION_SLOT
uploading a new application overwrites the one that previously uploading a new application overwrites the one that previously
occupied the area. occupied the area.
choice choice BOOT_SIGNATURE_TYPE
prompt "Signature type" prompt "Signature type"
default BOOT_SIGNATURE_TYPE_RSA default BOOT_SIGNATURE_TYPE_RSA
@ -89,7 +89,7 @@ config BOOT_SIGNATURE_TYPE_ECDSA_P256
bool "Elliptic curve digital signatures with curve P-256" bool "Elliptic curve digital signatures with curve P-256"
if BOOT_SIGNATURE_TYPE_ECDSA_P256 if BOOT_SIGNATURE_TYPE_ECDSA_P256
choice choice BOOT_ECDSA_IMPLEMENTATION
prompt "Ecdsa implementation" prompt "Ecdsa implementation"
default BOOT_ECDSA_TINYCRYPT default BOOT_ECDSA_TINYCRYPT
@ -111,7 +111,7 @@ config BOOT_SIGNATURE_TYPE_ED25519
bool "Edwards curve digital signatures using ed25519" bool "Edwards curve digital signatures using ed25519"
if BOOT_SIGNATURE_TYPE_ED25519 if BOOT_SIGNATURE_TYPE_ED25519
choice choice BOOT_ED25519_IMPLEMENTATION
prompt "Ecdsa implementation" prompt "Ecdsa implementation"
default BOOT_ED25519_TINYCRYPT default BOOT_ED25519_TINYCRYPT
config BOOT_ED25519_TINYCRYPT config BOOT_ED25519_TINYCRYPT
@ -183,7 +183,7 @@ config BOOT_VALIDATE_SLOT0
able to modify the flash image itself. able to modify the flash image itself.
if !SINGLE_APPLICATION_SLOT if !SINGLE_APPLICATION_SLOT
choice choice BOOT_IMAGE_UPGRADE_MODE
prompt "Image upgrade modes" prompt "Image upgrade modes"
default BOOT_SWAP_USING_MOVE if SOC_FAMILY_NRF default BOOT_SWAP_USING_MOVE if SOC_FAMILY_NRF
default BOOT_SWAP_USING_SCRATCH default BOOT_SWAP_USING_SCRATCH
@ -308,7 +308,7 @@ config BOOT_SHARE_DATA
bool "Save application specific data in shared memory area" bool "Save application specific data in shared memory area"
default n default n
choice choice BOOT_FAULT_INJECTION_HARDENING_PROFILE
prompt "Fault injection hardening profile" prompt "Fault injection hardening profile"
default BOOT_FIH_PROFILE_OFF default BOOT_FIH_PROFILE_OFF
@ -465,7 +465,7 @@ menuconfig MCUBOOT_SERIAL
if MCUBOOT_SERIAL if MCUBOOT_SERIAL
choice choice BOOT_SERIAL_DEVICE
prompt "Serial device" prompt "Serial device"
default BOOT_SERIAL_UART if !BOARD_NRF52840DONGLE_NRF52840 default BOOT_SERIAL_UART if !BOARD_NRF52840DONGLE_NRF52840
default BOOT_SERIAL_CDC_ACM if BOARD_NRF52840DONGLE_NRF52840 default BOOT_SERIAL_CDC_ACM if BOARD_NRF52840DONGLE_NRF52840
@ -594,7 +594,7 @@ config UPDATEABLE_IMAGE_NUMBER
help help
Enables support of multi image update. Enables support of multi image update.
choice choice BOOT_DOWNGRADE_PREVENTION_CHOICE
prompt "Downgrade prevention" prompt "Downgrade prevention"
optional optional