[U-Boot] [PATCH] ti: k2g: increase phy autoneg timeout

Tom Rini trini at konsulko.com
Mon Mar 14 13:22:04 CET 2016


On Mon, Mar 14, 2016 at 08:19:56AM -0400, Vitaly Andrianov wrote:
> On 03/11/2016 12:14 PM, Tom Rini wrote:
> >On Fri, Mar 11, 2016 at 08:23:04AM -0500, Vitaly Andrianov wrote:
> >
> >>After power cycle of a K2G EVM dhcp fails due to a auto-negotiation
> >>timeout. This commit increases the timeout to fix the issue.
> >>
> >>Signed-off-by: Vitaly Andrianov <vitalya at ti.com>
> >>---
> >>
> >>  board/ti/ks2_evm/board.c  | 2 +-
> >>  include/configs/k2g_evm.h | 1 +
> >>  2 files changed, 2 insertions(+), 1 deletion(-)
> >>
> >>diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c
> >>index 73f0f27..a2c7542 100644
> >>--- a/board/ti/ks2_evm/board.c
> >>+++ b/board/ti/ks2_evm/board.c
> >>@@ -7,8 +7,8 @@
> >>   * SPDX-License-Identifier:     GPL-2.0+
> >>   */
> >>
> >>-#include "board.h"
> >>  #include <common.h>
> >>+#include "board.h"
> >>  #include <spl.h>
> >>  #include <exports.h>
> >>  #include <fdt_support.h>
> >
> >Spurious change?
> >
> >Reviewed-by: Tom Rini <trini at konsulko.com>
> >
> >for the rest tho.
> >
> Without this change it gives compilation warning:
> 
> In file included from include/config.h:5:0,
>                   from include/common.h:18,
>                   from board/ti/ks2_evm/board.c:11:
> include/configs/k2g_evm.h:55:0: warning: "PHY_ANEG_TIMEOUT" redefined
>   #define PHY_ANEG_TIMEOUT 10000 /* PHY needs longer aneg time */
>   ^
> In file included from ./arch/arm/include/asm/ti-common/keystone_net.h:14:0,
>                   from board/ti/ks2_evm/board.h:13,
>                   from board/ti/ks2_evm/board.c:10:
> include/phy.h:36:0: note: this is the location of the previous definition
>   #define PHY_ANEG_TIMEOUT 4000

Ah, OK, thanks for explaining then.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160314/231bc515/attachment.sig>


More information about the U-Boot mailing list