From b8dafa2209adf5edd1037bbd4bdf21a738fb18dc Mon Sep 17 00:00:00 2001 From: Vitaly Andrianov Date: Fri, 11 Mar 2016 08:23:04 -0500 Subject: [PATCH] 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 --- 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 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 -- 2.39.5