net: Convert CONFIG_IP_DEFRAG to Kconfig
Convert CONFIG_IP_DEFRAG to Kconfig, update defconfigs, headers and whitelist. This patch is a follow-up on a patch by Christian Gmeiner with the added config/header/whitelist updates. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reported-by: Christian Gmeiner <christian.gmeiner@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
0dfe442e87
commit
3f6bcdf6a5
@ -25,6 +25,7 @@ CONFIG_CMD_UUID=y
|
||||
CONFIG_CMD_EXT4_WRITE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8qm-apalis"
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_CLK_IMX8=y
|
||||
CONFIG_CPU=y
|
||||
CONFIG_DM_GPIO=y
|
||||
|
@ -31,6 +31,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra124-apalis"
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -54,6 +54,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="imx6-apalis"
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_DWC_AHSATA=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DM_GPIO=y
|
||||
|
@ -28,6 +28,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra30-apalis"
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -46,6 +46,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="imx6ull-colibri"
|
||||
CONFIG_ENV_IS_IN_NAND=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_NAND=y
|
||||
CONFIG_DM_GPIO=y
|
||||
|
@ -24,6 +24,7 @@ CONFIG_CMD_UUID=y
|
||||
CONFIG_CMD_EXT4_WRITE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8qxp-colibri"
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_CLK_IMX8=y
|
||||
CONFIG_CPU=y
|
||||
CONFIG_DM_GPIO=y
|
||||
|
@ -54,6 +54,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="imx6-colibri"
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
|
@ -46,6 +46,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="imx7-colibri-rawnand"
|
||||
CONFIG_ENV_IS_IN_NAND=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_FSL_CAAM=y
|
||||
CONFIG_DFU_NAND=y
|
||||
CONFIG_DM_GPIO=y
|
||||
|
@ -41,6 +41,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="imx7-colibri-emmc"
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_FSL_CAAM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DM_GPIO=y
|
||||
|
@ -36,6 +36,7 @@ CONFIG_CMD_UBI=y
|
||||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra20-colibri"
|
||||
CONFIG_ENV_IS_IN_NAND=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -27,6 +27,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
||||
# CONFIG_SPL_EFI_PARTITION is not set
|
||||
CONFIG_OF_LIVE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="tegra30-colibri"
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
|
@ -74,6 +74,7 @@ CONFIG_OF_LIVE=y
|
||||
CONFIG_OF_HOSTFILE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sandbox64"
|
||||
CONFIG_NETCONSOLE=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SYSCON=y
|
||||
CONFIG_DEVRES=y
|
||||
|
@ -79,6 +79,7 @@ CONFIG_OF_LIVE=y
|
||||
CONFIG_OF_HOSTFILE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sandbox"
|
||||
CONFIG_NETCONSOLE=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SYSCON=y
|
||||
CONFIG_DEVRES=y
|
||||
|
@ -59,6 +59,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_OF_HOSTFILE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sandbox"
|
||||
CONFIG_NETCONSOLE=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SYSCON=y
|
||||
CONFIG_DEVRES=y
|
||||
|
@ -65,6 +65,7 @@ CONFIG_OF_CONTROL=y
|
||||
CONFIG_OF_HOSTFILE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sandbox"
|
||||
CONFIG_NETCONSOLE=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SYSCON=y
|
||||
CONFIG_DEVRES=y
|
||||
|
@ -76,6 +76,7 @@ CONFIG_OF_HOSTFILE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sandbox"
|
||||
CONFIG_SPL_OF_PLATDATA=y
|
||||
CONFIG_NETCONSOLE=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_SPL_REGMAP=y
|
||||
|
@ -9,6 +9,7 @@ CONFIG_FIT_SIGNATURE=y
|
||||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_OF_HOSTFILE=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="sandbox"
|
||||
CONFIG_IP_DEFRAG=y
|
||||
# CONFIG_UDP_FUNCTION_FASTBOOT is not set
|
||||
CONFIG_SANDBOX_GPIO=y
|
||||
CONFIG_DM_I2C_COMPAT=y
|
||||
|
@ -42,6 +42,7 @@ CONFIG_EFI_PARTITION=y
|
||||
# CONFIG_PARTITION_UUIDS is not set
|
||||
CONFIG_OF_BOARD=y
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_IP_DEFRAG=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
|
@ -29,7 +29,6 @@
|
||||
/* Networking */
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE SZ_4K
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
#define CONFIG_E1000_NO_NVM
|
||||
|
||||
/* General networking support */
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 16352
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
|
@ -59,7 +59,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 6
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 4096
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#define CONFIG_E1000_NO_NVM
|
||||
|
||||
/* General networking support */
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 16352
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
#define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M)
|
||||
|
||||
/* Network */
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 16352
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
/* Networking */
|
||||
#define FEC_QUIRK_ENET_MAC
|
||||
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE SZ_4K
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
|
@ -50,7 +50,6 @@
|
||||
#define CONFIG_FEC_XCV_TYPE RMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 1
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 16352
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 0
|
||||
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 16352
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_COLIBRI_TEGRA2
|
||||
|
||||
/* General networking support */
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 1536
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#define CONFIG_SYS_MMC_ENV_PART 1
|
||||
|
||||
/* General networking support */
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 16352
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
|
@ -71,7 +71,6 @@
|
||||
#define CONFIG_BOOTP_DNS2
|
||||
#define CONFIG_BOOTP_SEND_HOSTNAME
|
||||
#define CONFIG_BOOTP_SERVERIP
|
||||
#define CONFIG_IP_DEFRAG
|
||||
|
||||
#ifndef SANDBOX_NO_SDL
|
||||
#define CONFIG_SANDBOX_SDL
|
||||
|
@ -41,7 +41,6 @@
|
||||
#define CONFIG_BOOTP_BOOTFILESIZE
|
||||
#define CONFIG_BOOTP_MAY_FAIL
|
||||
|
||||
#define CONFIG_IP_DEFRAG
|
||||
#define CONFIG_TFTP_BLOCKSIZE 4096
|
||||
|
||||
/* Miscellaneous configurable options */
|
||||
|
@ -22,4 +22,11 @@ config NETCONSOLE
|
||||
Support the 'nc' input/output device for networked console.
|
||||
See README.NetConsole for details.
|
||||
|
||||
config IP_DEFRAG
|
||||
bool "Support IP datagram reassembly"
|
||||
default n
|
||||
help
|
||||
Selecting this will enable IP datagram reassembly according
|
||||
to the algorithm in RFC815.
|
||||
|
||||
endif # if NET
|
||||
|
@ -927,7 +927,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
|
||||
|
Loading…
Reference in New Issue
Block a user