Răsfoiți Sursa

net: Improve BOOTP PXE config option

Improve the documentation and correct the listed dependencies.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>

Reviewed-by: Duncan Hare <dh@synoia.com>
Joe Hershberger 7 ani în urmă
părinte
comite
2b9f486bf5
1 a modificat fișierele cu 5 adăugiri și 3 ștergeri
  1. 5 3
      cmd/Kconfig

+ 5 - 3
cmd/Kconfig

@@ -1082,12 +1082,14 @@ config BOOTP_SUBNETMASK
 	depends on CMD_BOOTP
 	depends on CMD_BOOTP
 
 
 config BOOTP_PXE
 config BOOTP_PXE
-	bool "Enable BOOTP PXE"
-	depends on CMD_BOOTP
+	bool "Send PXE client arch to BOOTP/DHCP server"
+	depends on CMD_BOOTP && CMD_PXE
+	help
+	  Supported for ARM, ARM64, and x86 for now.
 
 
 config BOOTP_PXE_CLIENTARCH
 config BOOTP_PXE_CLIENTARCH
 	hex
 	hex
-	depends on CMD_BOOTP
+	depends on BOOTP_PXE
 	default 0x16 if ARM64
 	default 0x16 if ARM64
 	default 0x15 if ARM
 	default 0x15 if ARM
 	default 0 if X86
 	default 0 if X86