From: Marek Vasut Date: Tue, 21 May 2024 09:39:38 +0000 (+0200) Subject: ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=146d353b7303a059961fb501eaecc92916577e3d;p=u-boot.git 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 --- diff --git a/include/configs/imx8mm-mx8menlo.h b/include/configs/imx8mm-mx8menlo.h index a86bd76a3c..5cc60af91e 100644 --- a/include/configs/imx8mm-mx8menlo.h +++ b/include/configs/imx8mm-mx8menlo.h @@ -8,6 +8,9 @@ #include +/* 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 \