summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2019-12-19 15:20:43 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-03-05 19:22:23 +0100
commitcb3eb29b1521100055dcc96599e0f296e7b07dd2 (patch)
tree2ff875b557439c0e150061a3d6a349fac541e1d7
parentb16da3d69abec85144ed01bcd035b3796a766aed (diff)
config: apalis-imx8: fix auto-negotiation timeout error
Sometimes an ethernet PHY interface can’t complete auto-negotiation and returns “timeout” error. Overriding default timeout value fixes this issue. Related-to: #58999 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r--include/configs/apalis-imx8.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h
index aea2f54b29..89213e88b0 100644
--- a/include/configs/apalis-imx8.h
+++ b/include/configs/apalis-imx8.h
@@ -52,6 +52,9 @@
/* ENET Config */
#define CONFIG_MII
+/* We have a slow phy... */
+#define PHY_ANEG_TIMEOUT 15000
+
#define CONFIG_FEC_MXC
#define CONFIG_FEC_XCV_TYPE RGMII
#define FEC_QUIRK_ENET_MAC