aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2024-05-21 11:39:38 +0200
committerFabio Estevam <festevam@denx.de>2024-05-24 11:24:43 -0300
commit146d353b7303a059961fb501eaecc92916577e3d (patch)
tree06b5c165bd4d728975ce92a7da35cf8243453fa9
parent198b3ce737fab0f53e4e4e11f80a6634ec068b11 (diff)
downloadu-boot-146d353b7303a059961fb501eaecc92916577e3d.zip
u-boot-146d353b7303a059961fb501eaecc92916577e3d.tar.gz
u-boot-146d353b7303a059961fb501eaecc92916577e3d.tar.bz2
ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo
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>
-rw-r--r--include/configs/imx8mm-mx8menlo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/imx8mm-mx8menlo.h b/include/configs/imx8mm-mx8menlo.h
index a86bd76..5cc60af 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 \