[U-Boot] [PATCH] Convert CONFIG_IP_DEFRAG to Kconfig

Joe Hershberger joe.hershberger at ni.com
Fri Mar 1 21:44:05 UTC 2019


On Tue, Feb 12, 2019 at 6:29 AM Christian Gmeiner
<christian.gmeiner at gmail.com> wrote:
>
> This converts the following to Kconfig:
>    CONFIG_IP_DEFRAG
>
> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>

Thanks for doing this, but don't we also need to migrate the existing
targets that define this?

include/configs/apalis_imx6.h:72:#define CONFIG_IP_DEFRAG
include/configs/colibri_imx6.h:60:#define CONFIG_IP_DEFRAG
include/configs/xilinx_versal.h:44:#define CONFIG_IP_DEFRAG
include/configs/apalis_t30.h:31:#define CONFIG_IP_DEFRAG
include/configs/sandbox.h:74:#define CONFIG_IP_DEFRAG
include/configs/colibri-imx6ull.h:26:#define CONFIG_IP_DEFRAG
include/configs/apalis-tk1.h:37:#define CONFIG_IP_DEFRAG
include/configs/colibri_t30.h:30:#define CONFIG_IP_DEFRAG
include/configs/colibri_t20.h:21:#define CONFIG_IP_DEFRAG
include/configs/colibri_imx7.h:25:#define CONFIG_IP_DEFRAG

Thanks,
-Joe

> ---
>  net/Kconfig                  | 6 ++++++
>  scripts/config_whitelist.txt | 1 -
>  2 files changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/net/Kconfig b/net/Kconfig
> index f2363e5256..5f5f632469 100644
> --- a/net/Kconfig
> +++ b/net/Kconfig
> @@ -8,6 +8,12 @@ menuconfig NET
>
>  if NET
>
> +config IP_DEFRAG
> +       bool "Support IP datagram reassembly"
> +       help
> +         Selecting this will enable IP datagram reassembly according
> +         to the algorithm in RFC815.
> +
>  config NET_RANDOM_ETHADDR
>         bool "Random ethaddr if unset"
>         help
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index 2b3572568b..6b746c5242 100644
> --- a/scripts/config_whitelist.txt
> +++ b/scripts/config_whitelist.txt
> @@ -972,7 +972,6 @@ CONFIG_IPAM390_GPIO_BOOTMODE
>  CONFIG_IPAM390_GPIO_LED_GREEN
>  CONFIG_IPAM390_GPIO_LED_RED
>  CONFIG_IPROC
> -CONFIG_IP_DEFRAG
>  CONFIG_IRAM_BASE
>  CONFIG_IRAM_END
>  CONFIG_IRAM_SIZE
> --
> 2.20.1
>
> _______________________________________________
> 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