[PATCH v3 18/95] boot: Add a Kconfig for SPL_BOOTDEV_ETH

Simon Glass sjg at chromium.org
Mon Feb 13 00:15:21 CET 2023


This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3:
- Use a consistent format for the comment

 net/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/net/Kconfig b/net/Kconfig
index 4215889127c..88aecbbd8d9 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -34,6 +34,10 @@ config BOOTDEV_ETH
 	  an operationg system over the network, using the PXE (Preboot
 	  Execution Environment) protocol.
 
+config SPL_BOOTDEV_ETH
+	def_bool n  # Enable bootdev for ethernet (SPL)
+	depends on SPL_BOOTSTD
+
 config BOOTP_SEND_HOSTNAME
 	bool "Send hostname to DNS server"
 	help
-- 
2.39.1.581.gbfd45094c4-goog



More information about the U-Boot mailing list