spl: fix incorrect dependency for SPL_NET
PATCH 1/1 spl: fix incorrect dependency for SPL_NET
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 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.
--- common/spl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
common/spl/Kconfig +1 -1
@@ -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,
Signature · 1 line
Quentin Schulz <[email protected]>
Quoted 4 lines · Quentin Schulz
From: Quentin Schulz <[email protected]>
SPL_NETdepends on symbols that are only available if the legacy networking stable is made available. It is however possible to build
s/stable/stack/
Quoted 28 lines
U-Boot without a networking stack at all, in which case
SPL_NETwill 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(-)common/spl/Kconfig +1
-2@@ -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
Quoted 1 line
Best regards,
Thanks,
Signature · 1 line
Jerome