From abbaa8ed1462861f6635ab9f4643c9cb91906e35 Mon Sep 17 00:00:00 2001
From: Pascal Linder <pascal.linder@edu.hefr.ch>
Date: Tue, 9 Jul 2019 09:30:27 +0200
Subject: km/rgmii: port Ethernet interface of KM Kirkwood boards to driver
 model

Activate the driver model for the Ethernet interface (RGMII) in the KM
Kirkwood Kconfig file. Additionally, raise the auto negotiation timeout
to eight seconds as more time is required for those boards.

Signed-off-by: Pascal Linder <pascal.linder@edu.hefr.ch>
Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com>
Signed-off-by: Stefan Roese <sr@denx.de>
---
 include/configs/km/km_arm.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'include/configs/km/km_arm.h')

diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index 96227b198e..d12d18770d 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -82,6 +82,7 @@
 /*
  * Ethernet Driver configuration
  */
+#define PHY_ANEG_TIMEOUT	8000	/* PHY needs a longer autoneg timeout */
 #define CONFIG_MVGBE_PORTS	{1, 0}	/* enable port 0 only */
 #define CONFIG_PHY_BASE_ADR	0
 
-- 
cgit v1.2.1