[PATCH] boot: rename BOOTM_OPTIONAL_SIGNED_IMAGES

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Nov 13 02:21:30 PST 2026



On 11/13/26 11:09 AM, Sascha Hauer wrote:
> BOOTM_OPTIONAL_SIGNED_IMAGES is easily misread as an option that adds
> support for signed images which are then optional. The option doesn't
> add support for anything, it's merely the opposite of
> BOOTM_FORCE_SIGNED_IMAGES.  Rename it to BOOTM_ALLOW_UNSIGNED_IMAGES to
> make that clear.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>

> ---
>  common/Kconfig | 2 +-
>  common/Sconfig | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/common/Kconfig b/common/Kconfig
> index 9adecfd2e4..4cac59fa22 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -796,7 +796,7 @@ config BOOTM_FORCE_SIGNED_IMAGES
>  	  are refused to boot. Effectively this means only FIT images can be booted
>  	  since they are the only supported image type that support signing.
>  
> -config BOOTM_OPTIONAL_SIGNED_IMAGES
> +config BOOTM_ALLOW_UNSIGNED_IMAGES
>  	def_bool !BOOTM_FORCE_SIGNED_IMAGES
>  	select HAS_INSECURE_DEFAULTS
>  	depends on BOOTM
> diff --git a/common/Sconfig b/common/Sconfig
> index e5bfb63cfc..f7afb9c94a 100644
> --- a/common/Sconfig
> +++ b/common/Sconfig
> @@ -51,7 +51,7 @@ menu "Boot Policy"
>  
>  config BOOT_UNSIGNED_IMAGES
>  	bool "Allow booting unsigned images"
> -	depends on $(kconfig-enabled,BOOTM_OPTIONAL_SIGNED_IMAGES)
> +	depends on $(kconfig-enabled,BOOTM_ALLOW_UNSIGNED_IMAGES)
>  	help
>  	  Say y here if you want to allow booting of images with
>  	  an invalid signature or no signature at all.

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list