diff mbox series

[v2,007/169] boot: Add a Kconfig for SPL_BOOTDEV_ETH

Message ID 20230205223836.231657-8-sjg@chromium.org
State Changes Requested
Delegated to: Tom Rini
Headers show
Series Kconfig: More cleanup of CONFIG options | expand

Commit Message

Simon Glass Feb. 5, 2023, 10:35 p.m. UTC
This is implicitly used in the source and seems useful, so add it.

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

(no changes since v1)

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

Patch

diff --git a/net/Kconfig b/net/Kconfig
index 4215889127c..fbe6b35077f 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