summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-11-24 08:15:22 (GMT)
committerLuka Perkov <luka.perkov@sartura.hr>2015-11-29 15:02:44 (GMT)
commit9eb14cc443d0ae846ba72434e6c749222404be3d (patch)
tree9f4d828104c47341fbca88b7ca06e9260007d553
parentfa8883a1e39a20e72aaa5093af0c80062cb95757 (diff)
downloadu-boot-fsl-qoriq-9eb14cc443d0ae846ba72434e6c749222404be3d.tar.xz
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>
-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 */
/*