From: Duncan Hare Date: Thu, 29 Mar 2018 16:35:48 +0000 (UTC) Subject: [U-Boot] [PATCH 7/9] net: Make the BOOTP options default In-Reply-To: <1522270276-28631-8-git-send-email-joe.hershberger@ni.com> References: <1522270276-28631-1-git-send-email-joe.hershberger@ni.com> <1522270276-28631-8-git-send-email-joe.hershberger@ni.com> Message-ID: <1367485465.1021433.1522341348038@mail.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de From: Joe Hershberger To: u-boot at lists.denx.de Cc: Heinrich ; Michal Simek ; Simon Glass ; Duncan Hare ; Tom Rini ; Maxime Ripard ; Joe Hershberger Sent: Wednesday, March 28, 2018 1:53 PM Subject: [PATCH 7/9] 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 --- Kconfig    | 6 ------ cmd/Kconfig | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Kconfig b/Kconfig index 6670913..17e6212 100644 --- a/Kconfig +++ b/Kconfig @@ -79,12 +79,6 @@ config DISTRO_DEFAULTS     select CMD_PING if NET     select CMD_PART if PARTITIONS     select HUSH_PARSER -    select BOOTP_BOOTPATH if NET && CMD_NET -    select BOOTP_DNS if NET && CMD_NET -    select BOOTP_GATEWAY if NET && CMD_NET -    select BOOTP_HOSTNAME if NET && CMD_NET -    select BOOTP_PXE if NET && CMD_NET -    select BOOTP_SUBNETMASK if NET && CMD_NET     select CMDLINE_EDITING     select AUTO_COMPLETE     select SYS_LONGHELP diff --git a/cmd/Kconfig b/cmd/Kconfig index cc059c4..6eff18f 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1032,6 +1032,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 @@ -1039,6 +1040,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 @@ -1058,20 +1060,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. -- 1.7.11.5 Reviewed by: Duncan Hare dh at synoia.com