The ethernet PHY on MX8Menlo board takes a while to come out of
reset, increase the auto-negotiation timeout to prevent it from
timing out in case the ethernet is used right after the board was
reset.

Signed-off-by: Marek Vasut <ma...@denx.de>
---
Cc: "NXP i.MX U-Boot Team" <uboot-...@nxp.com>
Cc: Fabio Estevam <feste...@gmail.com>
Cc: Francesco Dolcini <francesco.dolc...@toradex.com>
Cc: Marcel Ziswiler <marcel.ziswi...@toradex.com>
Cc: Philippe Schenker <philippe.schen...@toradex.com>
Cc: Martyn Welch <martyn.we...@collabora.com>
Cc: Stefano Babic <sba...@denx.de>
Cc: u-boot@lists.denx.de
---
 include/configs/imx8mm-mx8menlo.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/imx8mm-mx8menlo.h 
b/include/configs/imx8mm-mx8menlo.h
index a86bd76a3c7..5cc60af91e5 100644
--- a/include/configs/imx8mm-mx8menlo.h
+++ b/include/configs/imx8mm-mx8menlo.h
@@ -8,6 +8,9 @@
 
 #include <configs/verdin-imx8mm.h>
 
+/* PHY needs a longer autoneg timeout */
+#define PHY_ANEG_TIMEOUT               20000
+
 /* Custom initial environment variables */
 #undef CFG_EXTRA_ENV_SETTINGS
 #define CFG_EXTRA_ENV_SETTINGS                                 \
-- 
2.43.0

Reply via email to