From c0ff506c39318a0d30e2ccace0bbfb8cdcde43c3 Mon Sep 17 00:00:00 2001 From: Oleksandr Suvorov Date: Thu, 19 Dec 2019 15:20:43 +0200 Subject: config: apalis-imx8: fix auto-negotiation timeout error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Oleksandr Suvorov --- include/configs/apalis-imx8.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3