]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ti: k2g: increase phy autoneg timeout
authorVitaly Andrianov <vitalya@ti.com>
Fri, 11 Mar 2016 13:23:04 +0000 (08:23 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 22 Mar 2016 16:16:07 +0000 (12:16 -0400)
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>
board/ti/ks2_evm/board.c
include/configs/k2g_evm.h

index ca668a7c690230ac00f877938ba12e1437b9eb86..e16669da081fdcafbeea24068e0bd67ebc2cc91b 100644 (file)
@@ -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>
index 7bc506f51f0748e7b73d56c54afacfbbf8734871..a2d2646eed729cf12ea566dd34a4c76835b45da5 100644 (file)
@@ -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