ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo
PATCH 1/1 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.
---
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Francesco Dolcini <[email protected]>
Cc: Marcel Ziswiler <[email protected]>
Cc: Philippe Schenker <[email protected]>
Cc: Martyn Welch <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: [email protected]
--- include/configs/imx8mm-mx8menlo.h | 3 +++ 1 file changed, 3 insertions(+)
include/configs/imx8mm-mx8menlo.h +3 -0
@@ -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 \
Signature · 1 line
2.43.0
Quoted 4 lines · Marek Vasut
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.
Is this specific of MX8Menlo or something we should have on verdin-imx8mm instead? I am not aware of any report on this issue on the verdin, on the other hand the verdin imx8mm has normally only one ethernet interface, and this is the one from the verdin SOM.
Francesco
Quoted 10 lines · Francesco Dolcini
Quoted 4 lines · Marek Vasut
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.
Is this specific of MX8Menlo or something we should have on verdin-imx8mm instead? I am not aware of any report on this issue on the verdin, on the other hand the verdin imx8mm has normally only one ethernet interface, and this is the one from the verdin SOM.
This is specific to this particular carrier board and does not apply to Dahlia board or Verdin SoM.
Quoted 7 lines · Marek Vasut
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 <[email protected]>
Applied, thanks.