summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/include/mach/config.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-11-24 09:15:22 +0100
committerLuka Perkov <luka.perkov@sartura.hr>2015-11-29 16:02:44 +0100
commit9eb14cc443d0ae846ba72434e6c749222404be3d (patch)
tree9f4d828104c47341fbca88b7ca06e9260007d553 /arch/arm/mach-mvebu/include/mach/config.h
parentfa8883a1e39a20e72aaa5093af0c80062cb95757 (diff)
downloadu-boot-imx-9eb14cc443d0ae846ba72434e6c749222404be3d.zip
u-boot-imx-9eb14cc443d0ae846ba72434e6c749222404be3d.tar.gz
u-boot-imx-9eb14cc443d0ae846ba72434e6c749222404be3d.tar.bz2
arm: mvebu: Configure ARP timeout and retry count
As some MVEBU platforms using the MVNETA driver seem to miss the first ARP packet, lets reduce the timeout and increase the retry count. This increases the speed for communication establishment. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Dirk Eibach <eibach@gdsys.de>
Diffstat (limited to 'arch/arm/mach-mvebu/include/mach/config.h')
-rw-r--r--arch/arm/mach-mvebu/include/mach/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/config.h b/arch/arm/mach-mvebu/include/mach/config.h
index 9dde710..1d49cab 100644
--- a/arch/arm/mach-mvebu/include/mach/config.h
+++ b/arch/arm/mach-mvebu/include/mach/config.h
@@ -70,6 +70,8 @@
#define CONFIG_PHYLIB
#define CONFIG_ENV_OVERWRITE /* ethaddr can be reprogrammed */
#define CONFIG_PHY_GIGE /* GbE speed/duplex detect */
+#define CONFIG_ARP_TIMEOUT 200
+#define CONFIG_NET_RETRY_COUNT 50
#endif /* CONFIG_CMD_NET */
/*