aboutsummaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorJoe Hershberger2018-04-13 15:26:37 -0500
committerJoe Hershberger2018-04-13 15:48:25 -0500
commit3dfbc53bd6310ccc860cf1ad0e9413d8dbbaf4f1 (patch)
tree5c213afae15a5dc9465aefaaa1675cc6848b6abc /cmd/Kconfig
parent2b9f486bf58b52fc6b2c53245c6a3a509b48524f (diff)
net: Make the BOOTP options default
The BOOTP options used to be and should still be default for all boards with CMD_NET enabled. One should not be forced to use DISTRO_DEFAULTS to get them. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Duncan Hare <dh@synoia.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 0d077bde002..bc1d2f31c01 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1043,6 +1043,7 @@ config CMD_DHCP
config BOOTP_BOOTPATH
bool "Request & store 'rootpath' from BOOTP/DHCP server"
+ default y
depends on CMD_BOOTP
help
Even though the config is called BOOTP_BOOTPATH, it stores the
@@ -1050,6 +1051,7 @@ config BOOTP_BOOTPATH
config BOOTP_DNS
bool "Request & store 'dnsip' from BOOTP/DHCP server"
+ default y
depends on CMD_BOOTP
help
The primary DNS server is stored as 'dnsip'. If two servers are
@@ -1069,20 +1071,24 @@ config BOOTP_DNS2
config BOOTP_GATEWAY
bool "Request & store 'gatewayip' from BOOTP/DHCP server"
+ default y
depends on CMD_BOOTP
config BOOTP_HOSTNAME
bool "Request & store 'hostname' from BOOTP/DHCP server"
+ default y
depends on CMD_BOOTP
help
The name may or may not be qualified with the local domain name.
config BOOTP_SUBNETMASK
bool "Request & store 'netmask' from BOOTP/DHCP server"
+ default y
depends on CMD_BOOTP
config BOOTP_PXE
bool "Send PXE client arch to BOOTP/DHCP server"
+ default y
depends on CMD_BOOTP && CMD_PXE
help
Supported for ARM, ARM64, and x86 for now.