summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2019-12-19 15:20:43 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2019-12-19 15:44:18 +0200
commitc0ff506c39318a0d30e2ccace0bbfb8cdcde43c3 (patch)
treee9d7077f9ffa162480a7514676c1ebbec249e217
parent85ccca4e5549be97398d3fab2b4177d6809f1c51 (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