From 86ee7615529936a113bef5f8e79197052130bdcc Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Mon, 6 Mar 2023 13:28:49 +0100 Subject: [PATCH] sysbuild: provide a Kconfig setting name for boot signature choice Kconfig choices should have setting name so that their default choice can be adjusted, for example by a board. It further prevents the `defined with a prompt outside the choice` warning when trying to re-source a Kconfig tree where choices are create without a setting name. Signed-off-by: Torsten Rasmussen --- share/sysbuild/bootloader/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/sysbuild/bootloader/Kconfig b/share/sysbuild/bootloader/Kconfig index 833e9e76469..19924a6ca18 100644 --- a/share/sysbuild/bootloader/Kconfig +++ b/share/sysbuild/bootloader/Kconfig @@ -37,7 +37,7 @@ config SIGNATURE_TYPE default ECDSA_P256 if BOOT_SIGNATURE_TYPE_ECDSA_P256 default ED25519 if BOOT_SIGNATURE_TYPE_ED25519 -choice +choice BOOT_SIGNATURE_TYPE prompt "Signature type" default BOOT_SIGNATURE_TYPE_RSA