[U-Boot] [PATCH] ti: k2g: increase phy autoneg timeout
Vitaly Andrianov
vitalya at ti.com
Fri Mar 11 14:23:04 CET 2016
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>
diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index d67d091..805f75e 100644
--- a/include/configs/k2g_evm.h
+++ b/include/configs/k2g_evm.h
@@ -52,6 +52,7 @@
#define CONFIG_KSNET_NETCP_V1_5
#define CONFIG_KSNET_CPSW_NUM_PORTS 2
#define CONFIG_PHY_MICREL
+#define PHY_ANEG_TIMEOUT 10000 /* PHY needs longer aneg time */
/* MMC/SD */
#define CONFIG_MMC
--
1.9.1
More information about the U-Boot
mailing list