diff mbox series

spl: Make SPL_NET depend on SPL_OF_CONTROL

Message ID 20211014132654.1031506-1-trini@konsulko.com
State Deferred
Delegated to: Tom Rini
Headers show
Series spl: Make SPL_NET depend on SPL_OF_CONTROL | expand

Commit Message

Tom Rini Oct. 14, 2021, 1:26 p.m. UTC
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@konsulko.com>
---
 common/spl/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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