[PATCH v3 5/5] Image size checks: Simplify SPL_SIZE_LIMIT logic

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Sep 3 14:08:58 CEST 2025


On 9/3/25 12:56, Philip Oberfichtner wrote:
> Simplify the depends-on logic for SPL_SIZE_LIMIT. No functional change.
> 
> Signed-off-by: Philip Oberfichtner <pro at denx.de>
> ---
>   Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Kconfig b/Kconfig
> index aa00669ba20..343299eed50 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -588,8 +588,8 @@ config HAS_SPL_SIZE_LIMIT
>   config SPL_SIZE_LIMIT
>   	hex "Maximum size of SPL image in bytes"
>   	depends on HAS_SPL_SIZE_LIMIT
> -	default 0x11000 if ARCH_MX6 && !MX6_OCRAM_256KB
>   	default 0x31000 if ARCH_MX6 && MX6_OCRAM_256KB
> +	default 0x11000 if ARCH_MX6
>   	default 0x30000 if ARCH_MVEBU && ARMADA_32BIT
>   	help
>   	  Maximum size of the SPL image. When defined, the build system checks

Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>


More information about the U-Boot mailing list