diff options
author | Vitaly Andrianov <vitalya@ti.com> | 2016-03-11 13:23:04 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-22 16:16:07 (GMT) |
commit | b8dafa2209adf5edd1037bbd4bdf21a738fb18dc (patch) | |
tree | 52ff9e3ab0d9af6dcd9def2ddbf768635e2803f2 | |
parent | 55926ddd189546742a4496e6690c2b62958cd7cd (diff) | |
download | u-boot-b8dafa2209adf5edd1037bbd4bdf21a738fb18dc.tar.xz |
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.c | 2 | ||||
-rw-r--r-- | include/configs/k2g_evm.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c index ca668a7..e16669d 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 7bc506f..a2d2646 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 |