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

Marek Vasut marek.vasut at mailbox.org
Wed Sep 3 14:59:01 CEST 2025


On 9/3/25 12:56 PM, 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
This makes it less obvious what the other case (!256 kiB SRAM SoCs) 
covers, why is that an improvement ?


More information about the U-Boot mailing list