[PATCH] spl: Make SPL_NET depend on SPL_OF_CONTROL

Tom Rini trini at konsulko.com
Thu Oct 14 15:26:54 CEST 2021


Once we look in the stack required for networking in SPL to function, it
becomes clear that SPL_OF_CONTROL is also required.  Make this
dependency explicit in Kconfig.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 common/spl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 17ce2f6b615d..cf6d4a0123eb 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -851,6 +851,7 @@ endif   # if SPL_UBI
 
 config SPL_NET
 	bool "Support networking"
+	depends on SPL_OF_CONTROL
 	help
 	  Enable support for network devices (such as Ethernet) in SPL.
 	  This permits SPL to load U-Boot over a network link rather than
-- 
2.25.1



More information about the U-Boot mailing list