From patchwork Mon Sep 28 10:28:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 54203 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id CD14622DEE for ; Mon, 28 Sep 2015 13:53:38 +0000 (UTC) Received: by wisv5 with SMTP id v5sf40075568wis.0 for ; Mon, 28 Sep 2015 06:53:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id :mime-version:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=MNUBoPliQ4H5rRmMTPRZ0tlWd0eQCYzxv8p0VQZZjwQ=; b=h+MyzLVSxsU843Mn3DN3TJAJ0gwgMrdRvm3kHPZ6IEwAH/z/xsYFz13v2SmXInm8ty AME+BV7bxUeXTAZ/nKNIowt9BSKIKaflLsb2nxoe2cOqJ084QeQdRWddSUNW8wXLnqWe RXifNk+a2pE6m2SKUabkuBNz9A1HEu+feSMHgVqObNaKaa+pi4R3vly9OHjMeprGpRoy sQAD4eLRMID3zNxVG3W23LYXsXxy2qlgsWLEXktUZjVlxXJ6GKiFnCHDBDY3wxqEc0nb Wfj3FhDRiuTHIRb0r0VcJQkCoyWkgUa8lY074yArsfWS2fHGkx8drI5U4s6U8oqR4eX/ YrBw== X-Gm-Message-State: ALoCoQm3E6KH3dQJP5BRtH10qv6hjOEstsu13DNl6p2k5ju2P4GBAJKSsi5+7Tyfuk0SqwBhIo19 X-Received: by 10.152.22.101 with SMTP id c5mr3269263laf.0.1443448418141; Mon, 28 Sep 2015 06:53:38 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.146.9 with SMTP id u9ls349629lfd.63.gmail; Mon, 28 Sep 2015 06:53:37 -0700 (PDT) X-Received: by 10.153.11.169 with SMTP id ej9mr3995222lad.39.1443448417806; Mon, 28 Sep 2015 06:53:37 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id 5si8296428lap.175.2015.09.28.06.53.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Sep 2015 06:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lahh2 with SMTP id h2so160864520lah.0 for ; Mon, 28 Sep 2015 06:53:37 -0700 (PDT) X-Received: by 10.25.77.133 with SMTP id a127mr3668720lfb.19.1443448417233; Mon, 28 Sep 2015 06:53:37 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1571134lbq; Mon, 28 Sep 2015 06:53:36 -0700 (PDT) X-Received: by 10.180.108.112 with SMTP id hj16mr18130851wib.41.1443448416479; Mon, 28 Sep 2015 06:53:36 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id cb19si22116270wib.13.2015.09.28.06.53.35; Mon, 28 Sep 2015 06:53:36 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 40CF04B8F2; Mon, 28 Sep 2015 15:53:35 +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 n20uf7QHu5oh; Mon, 28 Sep 2015 15:53:34 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7C6B24B8B5; Mon, 28 Sep 2015 15:53:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 992C34B8CB for ; Mon, 28 Sep 2015 12:28:24 +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 iUY1mCoLNPZL for ; Mon, 28 Sep 2015 12:28:24 +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 arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by theia.denx.de (Postfix) with ESMTPS id 2F2C34B8CA for ; Mon, 28 Sep 2015 12:28:19 +0200 (CEST) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t8SASHOt026767; Mon, 28 Sep 2015 05:28:17 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8SASH9j031143; Mon, 28 Sep 2015 05:28:17 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Mon, 28 Sep 2015 05:28:17 -0500 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8SASFvp025472; Mon, 28 Sep 2015 05:28:16 -0500 From: Sekhar Nori To: Tom Rini Date: Mon, 28 Sep 2015 15:58:15 +0530 Message-ID: <1443436095-18881-1-git-send-email-nsekhar@ti.com> X-Mailer: git-send-email 2.4.4.408.g16da57c MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 28 Sep 2015 15:53:32 +0200 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] am437x_evm: increase phy autoneg timeout X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nsekhar@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 When AM437x EVM is connected to Gigabit switch, it takes more time to finish auto-negotiation than on a 10/100 switch. The default 4 second limit times-out more often than not. This is observed when testing with a D-Link DGS-1008A desktop switch. Increase the auto-negotiation time-out for AM437x EVM to handle this case. Signed-off-by: Sekhar Nori --- include/configs/am43xx_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 15fa3e3fecea..529808da97dc 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -335,6 +335,7 @@ #define CONFIG_DRIVER_TI_CPSW #define CONFIG_PHYLIB +#define PHY_ANEG_TIMEOUT 8000 /* PHY needs longer aneg time at 1G */ #define CONFIG_SPL_ENV_SUPPORT #define CONFIG_SPL_NET_VCI_STRING "AM43xx U-Boot SPL"