mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
Convert CONFIG_ARP_TIMEOUT to Kconfig
This converts the following to Kconfig: CONFIG_ARP_TIMEOUT Cc: Ramon Fried <rfried.dev@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
5f7c886c82
commit
5d4e863bf8
82 changed files with 61 additions and 51 deletions
4
README
4
README
|
@ -1555,10 +1555,6 @@ The following options need to be configured:
|
|||
before giving up the operation. If not defined, a
|
||||
default value of 5 is used.
|
||||
|
||||
CONFIG_ARP_TIMEOUT
|
||||
|
||||
Timeout waiting for an ARP reply in milliseconds.
|
||||
|
||||
CONFIG_NFS_TIMEOUT
|
||||
|
||||
Timeout in milliseconds used in NFS protocol.
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
* Ethernet Driver configuration
|
||||
*/
|
||||
#ifdef CONFIG_CMD_NET
|
||||
#define CONFIG_ARP_TIMEOUT 200
|
||||
#define CONFIG_NET_RETRY_COUNT 50
|
||||
#endif /* CONFIG_CMD_NET */
|
||||
|
||||
|
|
|
@ -63,6 +63,7 @@ CONFIG_ENV_APPEND=y
|
|||
CONFIG_ENV_WRITEABLE_LIST=y
|
||||
CONFIG_ENV_ACCESS_IGNORE_FORCE=y
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_APBH_DMA=y
|
||||
CONFIG_APBH_DMA_BURST=y
|
||||
|
|
|
@ -63,6 +63,7 @@ CONFIG_ENV_APPEND=y
|
|||
CONFIG_ENV_WRITEABLE_LIST=y
|
||||
CONFIG_ENV_ACCESS_IGNORE_FORCE=y
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_APBH_DMA=y
|
||||
CONFIG_APBH_DMA_BURST=y
|
||||
|
|
|
@ -49,6 +49,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_NAND=y
|
||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=500
|
||||
CONFIG_NETCONSOLE=y
|
||||
CONFIG_DM=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
|
|
|
@ -66,6 +66,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
CONFIG_ARP_TIMEOUT=1500
|
||||
CONFIG_BOOTP_SEND_HOSTNAME=y
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_NETCONSOLE=y
|
||||
|
|
|
@ -42,6 +42,7 @@ CONFIG_CMD_TIME=y
|
|||
CONFIG_CMD_MVEBU_BUBT=y
|
||||
# CONFIG_SPL_PARTITION_UUIDS is not set
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_MAC_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
CONFIG_DM_I2C=y
|
||||
|
|
|
@ -65,6 +65,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_DWC_AHSATA=y
|
||||
|
|
|
@ -59,6 +59,7 @@ CONFIG_ENV_SPI_MAX_HZ=50000000
|
|||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="ccdc.img"
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_SCSI_AHCI=y
|
||||
CONFIG_DM_PCA953X=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_CMD_MTDPARTS=y
|
|||
CONFIG_CMD_UBI=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BLK=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_BOOTCOUNT_ENV=y
|
||||
|
|
|
@ -33,6 +33,7 @@ CONFIG_CMD_UBI=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BLK=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_BOOTCOUNT_ENV=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_CMD_MTDPARTS=y
|
|||
CONFIG_CMD_UBI=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BLK=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_BOOTCOUNT_ENV=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_CMD_MTDPARTS=y
|
|||
CONFIG_CMD_UBI=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BLK=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_BOOTCOUNT_ENV=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_CMD_MTDPARTS=y
|
|||
CONFIG_CMD_UBI=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BLK=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_BOOTCOUNT_ENV=y
|
||||
|
|
|
@ -32,6 +32,7 @@ CONFIG_CMD_MTDPARTS=y
|
|||
CONFIG_CMD_UBI=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BLK=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_BOOTCOUNT_ENV=y
|
||||
|
|
|
@ -43,6 +43,7 @@ CONFIG_CMD_FS_GENERIC=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_SPI_MAX_HZ=50000000
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
|
|
|
@ -47,6 +47,7 @@ CONFIG_EFI_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_SPI_MAX_HZ=50000000
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
# CONFIG_SPL_BLK is not set
|
||||
# CONFIG_BLOCK_CACHE is not set
|
||||
|
|
|
@ -46,6 +46,7 @@ CONFIG_EFI_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_SPI_MAX_HZ=50000000
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
|
|
|
@ -47,6 +47,7 @@ CONFIG_EFI_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_SPI_MAX_HZ=50000000
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_SATA_MV=y
|
||||
CONFIG_SYS_SATA_MAX_DEVICE=2
|
||||
|
|
|
@ -39,6 +39,7 @@ CONFIG_CMD_UBI=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_MVTWSI=y
|
||||
# CONFIG_MMC is not set
|
||||
|
|
|
@ -59,6 +59,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_DWC_AHSATA=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
|
|
|
@ -53,6 +53,7 @@ CONFIG_ISO_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_SPI_MAX_HZ=50000000
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_MVTWSI=y
|
||||
|
|
|
@ -42,6 +42,7 @@ CONFIG_CMD_TIME=y
|
|||
CONFIG_CMD_MVEBU_BUBT=y
|
||||
# CONFIG_SPL_PARTITION_UUIDS is not set
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
|
|
|
@ -69,6 +69,7 @@ CONFIG_ENV_IS_IN_NAND=y
|
|||
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
|
|
|
@ -39,6 +39,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
CONFIG_I2C_DEFAULT_BUS_NUMBER=0x1
|
||||
CONFIG_SYS_I2C_MXC=y
|
||||
|
|
|
@ -47,6 +47,7 @@ CONFIG_ENV_IS_IN_MMC=y
|
|||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_MMC_ENV_DEV=1
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
# CONFIG_BLOCK_CACHE is not set
|
||||
CONFIG_SPL_CLK_IMX6Q=y
|
||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_OF_CONTROL=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_DM=y
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
|
|
|
@ -35,6 +35,7 @@ CONFIG_CMD_TIME=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_SPI_MAX_HZ=50000000
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_MVTWSI=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_MMC_ENV_DEV=1
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_MVTWSI=y
|
||||
|
|
|
@ -40,6 +40,7 @@ CONFIG_MAC_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_MVEBU=y
|
||||
|
|
|
@ -38,6 +38,7 @@ CONFIG_MAC_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_MVTWSI=y
|
||||
|
|
|
@ -42,6 +42,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_MMC_ENV_DEV=1
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
CONFIG_DM_GPIO_LOOKUP_LABEL=y
|
||||
CONFIG_DM_I2C=y
|
||||
|
|
|
@ -48,6 +48,7 @@ CONFIG_MAC_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_AHCI_PCI=y
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_MAC_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
CONFIG_DM_I2C=y
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
CONFIG_MAC_PARTITION=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
CONFIG_DM_PCA953X=y
|
||||
|
|
|
@ -33,6 +33,7 @@ CONFIG_OF_CONTROL=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_DM=y
|
||||
CONFIG_FSL_ESDHC_IMX=y
|
||||
CONFIG_MTD=y
|
||||
|
|
|
@ -20,6 +20,7 @@ CONFIG_OF_CONTROL=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_FPGA_ALTERA=y
|
||||
CONFIG_FPGA_CYCLON2=y
|
||||
CONFIG_FSL_ESDHC_IMX=y
|
||||
|
|
|
@ -37,6 +37,7 @@ CONFIG_OF_CONTROL=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_DM=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_MXC=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_CMD_FS_GENERIC=y
|
|||
CONFIG_OF_CONTROL=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_DM=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_DM_BOOTCOUNT=y
|
||||
|
|
|
@ -70,6 +70,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_SF=y
|
||||
|
|
|
@ -76,6 +76,7 @@ CONFIG_ENV_IS_IN_MMC=y
|
|||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_MMC_ENV_DEV=1
|
||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||
CONFIG_FASTBOOT_BUF_ADDR=0x12000000
|
||||
|
|
|
@ -31,6 +31,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
|||
# CONFIG_ISO_PARTITION is not set
|
||||
# CONFIG_EFI_PARTITION is not set
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=500
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_MMC=y
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_MMC_ENV_DEV=2
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_DM=y
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_OF_CONTROL=y
|
|||
CONFIG_ENV_IS_IN_FAT=y
|
||||
CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_DM=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_CCF=y
|
||||
|
|
|
@ -44,6 +44,7 @@ CONFIG_OF_CONTROL=y
|
|||
CONFIG_ENV_IS_IN_FAT=y
|
||||
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_DM=y
|
||||
CONFIG_CLK=y
|
||||
CONFIG_CLK_CCF=y
|
||||
|
|
|
@ -41,6 +41,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|||
CONFIG_USE_BOOTFILE=y
|
||||
CONFIG_BOOTFILE="zImage"
|
||||
CONFIG_VERSION_VARIABLE=y
|
||||
CONFIG_ARP_TIMEOUT=500
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_BOOTCOUNT_LIMIT=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
|
|
|
@ -51,6 +51,7 @@ CONFIG_EFI_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_SPI_MAX_HZ=50000000
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_SATA_MV=y
|
||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_OF_CONTROL=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
CONFIG_SYS_I2C_MXC=y
|
||||
|
|
|
@ -40,6 +40,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
CONFIG_SYS_I2C_MXC=y
|
||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_OF_CONTROL=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
CONFIG_SYS_I2C_MXC=y
|
||||
|
|
|
@ -40,6 +40,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
CONFIG_SYS_I2C_MXC=y
|
||||
|
|
|
@ -36,6 +36,7 @@ CONFIG_OF_CONTROL=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_MMC=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
CONFIG_SYS_I2C_MXC=y
|
||||
|
|
|
@ -40,6 +40,7 @@ CONFIG_ENV_OVERWRITE=y
|
|||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_BOUNCE_BUFFER=y
|
||||
CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
|
||||
CONFIG_SYS_I2C_MXC=y
|
||||
|
|
|
@ -53,6 +53,7 @@ CONFIG_MAC_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SCSI_AHCI=y
|
||||
CONFIG_AHCI_PCI=y
|
||||
CONFIG_BUTTON=y
|
||||
|
|
|
@ -62,6 +62,7 @@ CONFIG_CMD_FS_UUID=y
|
|||
# CONFIG_SPL_PARTITION_UUIDS is not set
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_AHCI_PCI=y
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
|
|
|
@ -48,6 +48,7 @@ CONFIG_MAC_PARTITION=y
|
|||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_NET_RANDOM_ETHADDR=y
|
||||
CONFIG_AHCI_MVEBU=y
|
||||
CONFIG_CLK=y
|
||||
|
|
|
@ -50,6 +50,7 @@ CONFIG_CMD_MTDPARTS=y
|
|||
CONFIG_CMD_UBI=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_ENV_ADDR=0x100000
|
||||
CONFIG_ARP_TIMEOUT=200
|
||||
CONFIG_SPL_OF_TRANSLATE=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_MVTWSI=y
|
||||
|
|
|
@ -415,8 +415,6 @@
|
|||
HAB_EXTRA_SETTINGS \
|
||||
EXTRA_ENV_BOARD_SETTINGS
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* Physical Memory Map */
|
||||
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
|
||||
|
||||
|
|
|
@ -34,9 +34,6 @@
|
|||
|
||||
/* Enable PREBOOT variable */
|
||||
|
||||
/* Set ARP_TIMEOUT to 500ms */
|
||||
#define CONFIG_ARP_TIMEOUT 500UL
|
||||
|
||||
/* Set ARP_TIMEOUT_COUNT to 3 repetitions */
|
||||
#define CONFIG_NET_RETRY_COUNT 5
|
||||
|
||||
|
|
|
@ -89,7 +89,6 @@ BUR_COMMON_ENV \
|
|||
/* Ethernet */
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_FEC_FIXED_SPEED _1000BASET
|
||||
#define CONFIG_ARP_TIMEOUT 1500UL
|
||||
|
||||
/* USB Configs */
|
||||
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
|
||||
|
|
|
@ -150,7 +150,6 @@
|
|||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define IMX_FEC_BASE ENET_BASE_ADDR
|
||||
#define CONFIG_ETHPRIME "FEC0"
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
#define CONFIG_NET_RETRY_COUNT 5
|
||||
|
||||
/* USB */
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 7
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* MMC Configs */
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
|
|
|
@ -55,8 +55,6 @@
|
|||
|
||||
#include <config_distro_bootcmd.h>
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* Physical Memory Map */
|
||||
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
|
||||
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
/* MMC Configs */
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* Physical Memory Map */
|
||||
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
|
||||
|
||||
|
|
|
@ -109,8 +109,6 @@
|
|||
"fi; " \
|
||||
"else run netboot; fi"
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* Physical Memory Map */
|
||||
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
|
||||
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
|
||||
|
|
|
@ -60,8 +60,6 @@
|
|||
|
||||
#include <config_distro_bootcmd.h>
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* Miscellaneous configurable options */
|
||||
#define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
/* Miscellaneous configurable options */
|
||||
|
||||
/* FEC ethernet */
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* USB Configs */
|
||||
#ifdef CONFIG_CMD_USB
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
/*
|
||||
* Ethernet Driver configuration
|
||||
*/
|
||||
#define CONFIG_ARP_TIMEOUT 200
|
||||
#define CONFIG_NET_RETRY_COUNT 50
|
||||
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT (3 + 3)
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
/*
|
||||
* Ethernet Driver configuration
|
||||
*/
|
||||
#define CONFIG_ARP_TIMEOUT 200
|
||||
#define CONFIG_NET_RETRY_COUNT 50
|
||||
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT (3 + 3)
|
||||
|
|
|
@ -105,8 +105,6 @@
|
|||
"bootz; " \
|
||||
"fi;\0"
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/*
|
||||
* Miscellaneous configurable options
|
||||
*/
|
||||
|
|
|
@ -54,8 +54,6 @@
|
|||
"fdtfile=imx53-cx9020.dtb\0" \
|
||||
BOOTENV
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* Miscellaneous configurable options */
|
||||
#define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */
|
||||
|
||||
|
|
|
@ -91,8 +91,6 @@
|
|||
"bootz; " \
|
||||
"fi;\0"
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* Miscellaneous configurable options */
|
||||
#define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */
|
||||
|
||||
|
|
|
@ -85,8 +85,6 @@
|
|||
"video-mode=" \
|
||||
"lcd:800x480-24@60,monitor=lcd\0" \
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* Miscellaneous configurable options */
|
||||
#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
|
||||
|
||||
|
|
|
@ -136,8 +136,6 @@
|
|||
"echo WARNING: Could not determine dtb to use; fi; " \
|
||||
"fi;\0" \
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
/* Physical Memory Map */
|
||||
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
|
||||
|
||||
|
|
|
@ -49,7 +49,6 @@
|
|||
*/
|
||||
#define CONFIG_SYS_RX_ETH_BUFFER 8
|
||||
#define CONFIG_NET_RETRY_COUNT 20
|
||||
#define CONFIG_ARP_TIMEOUT 500 /* millisec */
|
||||
|
||||
/*--------------------------------------------------
|
||||
* USB Configuration
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
GENERATED_GBL_DATA_SIZE)
|
||||
#endif
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200
|
||||
#define CONFIG_NET_RETRY_COUNT 50
|
||||
|
||||
#endif
|
||||
|
|
|
@ -12,9 +12,6 @@
|
|||
#define PHYS_SDRAM_1_SIZE 0x10000000
|
||||
|
||||
/* Ethernet on SoC (EMAC) */
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
#define CONFIG_ARP_TIMEOUT 500UL
|
||||
#endif
|
||||
|
||||
/* The rest of the configuration is shared */
|
||||
#include <configs/socfpga_common.h>
|
||||
|
|
|
@ -57,8 +57,6 @@
|
|||
|
||||
#define IMX_FEC_BASE ENET_BASE_ADDR
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200UL
|
||||
|
||||
#if defined(CONFIG_TQMA6X_MMC_BOOT)
|
||||
|
||||
#define TQMA6_UBOOT_OFFSET SZ_1K
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
4000000, 4500000, 5000000, 5500000, \
|
||||
6000000 }
|
||||
|
||||
#define CONFIG_ARP_TIMEOUT 200
|
||||
#define CONFIG_NET_RETRY_COUNT 50
|
||||
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 6
|
||||
|
|
|
@ -8,6 +8,10 @@ menuconfig NET
|
|||
|
||||
if NET
|
||||
|
||||
config ARP_TIMEOUT
|
||||
int "Milliseconds before trying ARP again"
|
||||
default 5000
|
||||
|
||||
config PROT_UDP
|
||||
bool "Enable generic udp framework"
|
||||
help
|
||||
|
|
10
net/arp.c
10
net/arp.c
|
@ -17,14 +17,6 @@
|
|||
|
||||
#include "arp.h"
|
||||
|
||||
#ifndef CONFIG_ARP_TIMEOUT
|
||||
/* Milliseconds before trying ARP again */
|
||||
# define ARP_TIMEOUT 5000UL
|
||||
#else
|
||||
# define ARP_TIMEOUT CONFIG_ARP_TIMEOUT
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef CONFIG_NET_RETRY_COUNT
|
||||
# define ARP_TIMEOUT_COUNT 5 /* # of timeouts before giving up */
|
||||
#else
|
||||
|
@ -109,7 +101,7 @@ int arp_timeout_check(void)
|
|||
t = get_timer(0);
|
||||
|
||||
/* check for arp timeout */
|
||||
if ((t - arp_wait_timer_start) > ARP_TIMEOUT) {
|
||||
if ((t - arp_wait_timer_start) > CONFIG_ARP_TIMEOUT) {
|
||||
arp_wait_try++;
|
||||
|
||||
if (arp_wait_try >= ARP_TIMEOUT_COUNT) {
|
||||
|
|
Loading…
Reference in a new issue