]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: Add Kconfig option for BOOTP_NTPSERVER
authorChris Packham <judge.packham@gmail.com>
Thu, 3 May 2018 08:19:02 +0000 (20:19 +1200)
committerTom Rini <trini@konsulko.com>
Tue, 15 May 2018 01:28:38 +0000 (21:28 -0400)
Add a Kconfig option for BOOTP_NTPSERVER to enable the DHCP/BOOTP option
to configure the sntp server address.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
cmd/Kconfig
configs/devkit8000_defconfig
include/configs/devkit8000.h
scripts/config_whitelist.txt

index eb14e08f773d93cbec9ef5812544d22bc7361649..38406fcfdacf06fe278f7bb468231d5b5fcdfc77 100644 (file)
@@ -1094,6 +1094,10 @@ config BOOTP_SUBNETMASK
        default y
        depends on CMD_BOOTP
 
+config BOOTP_NTPSERVER
+       bool "Request & store 'ntpserverip' from BOOTP/DHCP server"
+       depends on CMD_BOOTP
+
 config BOOTP_PXE
        bool "Send PXE client arch to BOOTP/DHCP server"
        default y
index defed2d65a70f599177f4c78f298e044f8164c69..4a096b92659751a621056de15892b16b27af31dc 100644 (file)
@@ -18,6 +18,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_NAND_LOCK_UNLOCK=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_BOOTP_NTPSERVER=y
 CONFIG_CMD_JFFS2=y
 CONFIG_CMD_MTDPARTS=y
 CONFIG_MTDIDS_DEFAULT="nand0=nand"
index 748e456c39223bc69dc61a0dc78cd8311330a933..f36dc2dc2c84210d768d5f83c81788d57fb6b910 100644 (file)
@@ -76,7 +76,6 @@
 #define CONFIG_BOOTP_BOOTFILESIZE
 #define CONFIG_BOOTP_DNS2
 #define CONFIG_BOOTP_SEND_HOSTNAME
-#define CONFIG_BOOTP_NTPSERVER
 #define CONFIG_BOOTP_TIMEOFFSET
 #undef CONFIG_BOOTP_VENDOREX
 
index bdbfcbeb70c1b6e24f5492be9202615f11c9b78d..71df6dbebde61901d7a2d18a5e74c7e7e74b0791 100644 (file)
@@ -156,7 +156,6 @@ CONFIG_BOOTP_DHCP_REQUEST_DELAY
 CONFIG_BOOTP_ID_CACHE_SIZE
 CONFIG_BOOTP_MAY_FAIL
 CONFIG_BOOTP_NISDOMAIN
-CONFIG_BOOTP_NTPSERVER
 CONFIG_BOOTP_RANDOM_DELAY
 CONFIG_BOOTP_SEND_HOSTNAME
 CONFIG_BOOTP_SERVERIP