diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2019-06-24 11:39:14 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-06-28 00:08:42 +0200 |
commit | 0ac662da35e48b859b5d43e0c86f233f25730ee5 (patch) | |
tree | 18ebe02fcf4ce76377ca80ff865050207e2a495e /include/configs/apalis_imx6.h | |
parent | f0be8ff45fb89d02ae4aa5b87076edd034cad9fc (diff) |
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
timeout errors:
Apalis iMX6 # dhcp
FEC Waiting for PHY auto negotiation to complete......... TIMEOUT !
Increase the auto-negotiation time-out to 15000ms.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'include/configs/apalis_imx6.h')
-rw-r--r-- | include/configs/apalis_imx6.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index cffb90a690..db37fa7b73 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 15000 /* PHY needs longer aneg time */ #define CONFIG_FEC_MXC_PHYADDR 6 #define CONFIG_TFTP_TSIZE |