From patchwork Thu Aug 25 07:18:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Schmelzer X-Patchwork-Id: 662681 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3sKbCL26xlz9s9x for ; Thu, 25 Aug 2016 17:19:25 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D4255A752D; Thu, 25 Aug 2016 09:19:22 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CAjWCLlLY8Ab; Thu, 25 Aug 2016 09:19:22 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2F51A4BA0E; Thu, 25 Aug 2016 09:19:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 935DE4BA0E for ; Thu, 25 Aug 2016 09:19:19 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ncges4R-b70r for ; Thu, 25 Aug 2016 09:19:19 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail.schmelzer.or.at (mail.schmelzer.or.at [87.106.47.214]) by theia.denx.de (Postfix) with ESMTP id 3EF144B9CB for ; Thu, 25 Aug 2016 09:19:15 +0200 (CEST) Received: from localhost (s15287728.onlinehome-server.info [127.0.0.1]) by hamspirit.at (Postfix) with ESMTP id 9D0598F488BA; Thu, 25 Aug 2016 07:19:15 +0000 (UTC) Received: from mail.schmelzer.or.at ([127.0.0.1]) by localhost (s15287728.onlinehome-server.info [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XG8xCy3xPjiV; Thu, 25 Aug 2016 07:19:10 +0000 (UTC) Received: from scm-ws7.ad.schmelzer.or.at (192-164-21-196.adsl.highway.telekom.at [192.164.21.196]) by hamspirit.at (Postfix) with ESMTP id 06D9F8F488B9; Thu, 25 Aug 2016 07:19:09 +0000 (UTC) From: Hannes Schmelzer To: u-boot@lists.denx.de Date: Thu, 25 Aug 2016 09:18:56 +0200 Message-Id: <1472109536-25990-1-git-send-email-oe5hpm@oevsv.at> X-Mailer: git-send-email 1.9.1 Cc: trini@konsulko.com, Hannes Schmelzer Subject: [U-Boot] [PATCH] board/BuR/common: increase NET_RETRY_COUNT to 10 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 Reviewed-by: Tom Rini --- 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 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