]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo
authorMarek Vasut <marex@denx.de>
Tue, 21 May 2024 09:39:38 +0000 (11:39 +0200)
committerFabio Estevam <festevam@denx.de>
Fri, 24 May 2024 14:24:43 +0000 (11:24 -0300)
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 <marex@denx.de>
include/configs/imx8mm-mx8menlo.h

index a86bd76a3c725541b9c26b60dc264dfd414d63ea..5cc60af91e56c904ace99af07aa9d7a42149d4ef 100644 (file)
@@ -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                                 \