[U-Boot] [PATCH 1/2] net: Add Kconfig option for BOOTP_NTPSERVER

Joe Hershberger joe.hershberger at ni.com
Thu May 3 00:18:38 UTC 2018


On Fri, Apr 27, 2018 at 4:55 AM, Chris Packham <judge.packham at 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 at 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 at lists.denx.de
> https://lists.denx.de/listinfo/u-boot


More information about the U-Boot mailing list