From 15db77d7fe501d8d191e2824decf1c367903352d Mon Sep 17 00:00:00 2001
From: Hannes Schmelzer <oe5hpm@oevsv.at>
Date: Thu, 25 Aug 2016 09:18:56 +0200
Subject: [PATCH] board/BuR/common: increase NET_RETRY_COUNT to 10

Sometimes boards may need more time to become stable network connection
due to several reasons:

- phy speed
- link-partner (switch)

Therefore we increase the retry-count to 10 for making sure that network
connection works always.

Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Reviewed-by: Tom Rini <trini@konsulko.com>
---
 include/configs/bur_cfg_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/bur_cfg_common.h b/include/configs/bur_cfg_common.h
index f1837752ca5..22c32496aad 100644
--- a/include/configs/bur_cfg_common.h
+++ b/include/configs/bur_cfg_common.h
@@ -33,7 +33,7 @@
 #define CONFIG_BOOTP_SEND_HOSTNAME
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_SUBNETMASK
-#define CONFIG_NET_RETRY_COUNT		2
+#define CONFIG_NET_RETRY_COUNT		10
 
 /* Network console */
 #define CONFIG_NETCONSOLE		1
-- 
GitLab