On 12/18/25 13:05, Quentin Schulz wrote:
> From: Quentin Schulz <[email protected]>
> 
> SPL_NET depends on symbols that are only available if the legacy
> networking stable is made available. It is however possible to build

s/stable/stack/

> U-Boot without a networking stack at all, in which case SPL_NET will not
> compile. Fix this oversight by making sure a network stack (and the
> legacy one) is available.
> 
> Fixes: 8cb330355bd5 ("net: introduce alternative implementation as net/lwip/")
> Signed-off-by: Quentin Schulz <[email protected]>
> ---
>  common/spl/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index 3b7b6cafef8..ba434d5c46e 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -1148,7 +1148,7 @@ config SPL_DM_SPI_FLASH
>  
>  config SPL_NET
>       bool "Support networking"
> -     depends on !NET_LWIP
> +     depends on NET
>       select SPL_USE_TINY_PRINTF_POINTER_SUPPORT if SPL_USE_TINY_PRINTF
>       help
>         Enable support for network devices (such as Ethernet) in SPL.
> 
> ---
> base-commit: 47b50fb1125c539d80ed3e7f739c02c6486e1b52
> change-id: 20251218-spl_net-deps-62072f51243a
> 
> Best regards,

Reviewed-by: Jerome Forissier <[email protected]>

Thanks,
-- 
Jerome

Reply via email to