summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Andrianov <vitalya@ti.com>2016-03-11 08:23:04 -0500
committerTom Rini <trini@konsulko.com>2016-03-22 12:16:07 -0400
commitb8dafa2209adf5edd1037bbd4bdf21a738fb18dc (patch)
tree52ff9e3ab0d9af6dcd9def2ddbf768635e2803f2
parent55926ddd189546742a4496e6690c2b62958cd7cd (diff)
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 <vitalya@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--board/ti/ks2_evm/board.c2
-rw-r--r--include/configs/k2g_evm.h1
2 files changed, 2 insertions, 1 deletions
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 <common.h>
+#include "board.h"
#include <spl.h>
#include <exports.h>
#include <fdt_support.h>
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