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 <[email protected]>
---
 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

Reply via email to