diff mbox

[U-Boot] board/BuR/common: increase NET_RETRY_COUNT to 10

Message ID 1472109536-25990-1-git-send-email-oe5hpm@oevsv.at
State Accepted
Commit 15db77d7fe501d8d191e2824decf1c367903352d
Delegated to: Tom Rini
Headers show

Commit Message

Hannes Schmelzer Aug. 25, 2016, 7:18 a.m. UTC
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>

---

 include/configs/bur_cfg_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Aug. 26, 2016, 2:52 p.m. UTC | #1
On Thu, Aug 25, 2016 at 09:18:56AM +0200, Hannes Schmelzer wrote:

> 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>
Tom Rini Sept. 7, 2016, 5:58 p.m. UTC | #2
On Thu, Aug 25, 2016 at 09:18:56AM +0200, Hannes Schmelzer wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/bur_cfg_common.h b/include/configs/bur_cfg_common.h
index f183775..22c3249 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