[PATCH v2 1/3] Image size checks: Remove HAS_BOARD_SIZE_LIMIT

Marek Vasut marek.vasut at mailbox.org
Thu Aug 7 15:41:38 CEST 2025


On 8/7/25 12:24 PM, Philip Oberfichtner wrote:
> CONFIG_HAS_BOARD_SIZE_LIMIT is obsolete, if we interpret the value
> "zero" as "unlimited".

This sentence makes no sense. Is the variable not obsolete if its value 
is non-zero ?

[...]

> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
> index c2aa88f59fb..36eed766d31 100644
> --- a/lib/efi_loader/Kconfig
> +++ b/lib/efi_loader/Kconfig
> @@ -74,7 +74,7 @@ config EFI_SIGNATURE_SUPPORT
>   
>   config EFI_DEBUG_SUPPORT
>   	bool "EFI Debug Support"
> -	default y if !HAS_BOARD_SIZE_LIMIT
> +	default y if BOARD_SIZE_LIMIT = 0
This looks wrong, no board size limit does not imply EFI anything.

And use some common sense and reduce the CC list.


More information about the U-Boot mailing list