From: Vitaly Andrianov Date: Fri, 11 Mar 2016 13:23:04 +0000 (-0500) Subject: ti: k2g: increase phy autoneg timeout X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=b8dafa2209adf5edd1037bbd4bdf21a738fb18dc;p=u-boot.git ti: k2g: increase phy autoneg timeout 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 Reviewed-by: Tom Rini --- diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c index ca668a7c69..e16669da08 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 +#include "board.h" #include #include #include diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h index 7bc506f51f..a2d2646eed 100644 --- a/include/configs/k2g_evm.h +++ b/include/configs/k2g_evm.h @@ -57,6 +57,7 @@ #define CONFIG_KSNET_CPSW_NUM_PORTS 2 #define CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE #define CONFIG_PHY_MICREL +#define PHY_ANEG_TIMEOUT 10000 /* PHY needs longer aneg time */ /* MMC/SD */ #define CONFIG_MMC