Message ID | 20180427095505.25035-1-judge.packham@gmail.com |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show |
Series | [U-Boot,1/2] net: Add Kconfig option for BOOTP_NTPSERVER | expand |
On Fri, Apr 27, 2018 at 4:55 AM, Chris Packham <judge.packham@gmail.com> wrote: > Add a Kconfig option for BOOTP_NTPSERVER to enable the DHCP/BOOTP option > to configure the sntp server address. Please also remove it from scripts/config_whitelist.txt Also, there is one board with it enabled: include/configs/devkit8000.h:80. Please move this to its defconfig. > > Signed-off-by: Chris Packham <judge.packham@gmail.com> > --- > > cmd/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/cmd/Kconfig b/cmd/Kconfig > index bc1d2f31c010..dfb0fddb7671 100644 > --- a/cmd/Kconfig > +++ b/cmd/Kconfig > @@ -1086,6 +1086,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 > -- > 2.17.0 > > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot
diff --git a/cmd/Kconfig b/cmd/Kconfig index bc1d2f31c010..dfb0fddb7671 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1086,6 +1086,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
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> --- cmd/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)