diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2019-06-24 12:38:48 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-06-24 16:48:00 +0200 |
commit | 9b04fbd8e18341b1a2a9f7ad9918355741b5644c (patch) | |
tree | 1eccdec8bedc80e5ec06a676152cb1a21965c7db | |
parent | f40cd909a65cebd5f3538f558b4539b0c1c4fad3 (diff) |
u-boot: mainline: update phy aneg patch to v2
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | recipes-bsp/u-boot-mainline/files/0001-apalis_imx6-increase-phy-autoneg-timeout.patch | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/recipes-bsp/u-boot-mainline/files/0001-apalis_imx6-increase-phy-autoneg-timeout.patch b/recipes-bsp/u-boot-mainline/files/0001-apalis_imx6-increase-phy-autoneg-timeout.patch index f3d4554..db149f1 100644 --- a/recipes-bsp/u-boot-mainline/files/0001-apalis_imx6-increase-phy-autoneg-timeout.patch +++ b/recipes-bsp/u-boot-mainline/files/0001-apalis_imx6-increase-phy-autoneg-timeout.patch @@ -1,7 +1,7 @@ From 4bb2dccd69eaf8e25dd200f9a6deb883631db5c1 Mon Sep 17 00:00:00 2001 From: Igor Opaniuk <igor.opaniuk@toradex.com> -Date: Fri, 21 Jun 2019 14:00:24 +0300 -Subject: [PATCH] apalis_imx6: increase phy autoneg timeout +Date: Mon, 24 Jun 2019 11:39:14 +0300 +Subject: [PATCH v2] apalis_imx6: increase phy autoneg timeout Default value (4000ms) of PHY_ANEG_TIMEOUT for Micrel KSZ9031 contoller isn't sufficient to finish auto-negotiation, which sometimes leads to @@ -10,25 +10,29 @@ timeout errors: Apalis iMX6 # dhcp FEC Waiting for PHY auto negotiation to complete......... TIMEOUT ! -Increase the auto-negotiation time-out to 8000ms. +Increase the auto-negotiation time-out to 15000ms. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> --- + +v2: +- Based on empirical results from Philippe Schenker, increased timeout + value to 15s, just to be on the safe side + include/configs/apalis_imx6.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h -index 4b0a3fb26b..246d618442 100644 +index 4b0a3fb26b..df31cf6fe7 100644 --- a/include/configs/apalis_imx6.h +++ b/include/configs/apalis_imx6.h @@ -58,6 +58,7 @@ #define IMX_FEC_BASE ENET_BASE_ADDR #define CONFIG_FEC_XCV_TYPE RGMII #define CONFIG_ETHPRIME "FEC" -+#define PHY_ANEG_TIMEOUT 8000 /* PHY needs longer aneg time */ ++#define PHY_ANEG_TIMEOUT 15000 /* PHY needs longer aneg time */ #define CONFIG_FEC_MXC_PHYADDR 6 #define CONFIG_TFTP_TSIZE -- -2.13.6 - +2.17.1 |