aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Linder <pascal.linder@edu.hefr.ch>2019-07-09 09:30:27 +0200
committerStefan Roese <sr@denx.de>2019-08-12 09:12:38 +0200
commitabbaa8ed1462861f6635ab9f4643c9cb91906e35 (patch)
tree6ee8b6ba541121f0a5eb9e1e55f7fd83b5787534
parentb75e9e3fce8d8fa2ca45e12032fae57240821f65 (diff)
downloadu-boot-abbaa8ed1462861f6635ab9f4643c9cb91906e35.zip
u-boot-abbaa8ed1462861f6635ab9f4643c9cb91906e35.tar.gz
u-boot-abbaa8ed1462861f6635ab9f4643c9cb91906e35.tar.bz2
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>
-rw-r--r--board/keymile/km_arm/Kconfig1
-rw-r--r--include/configs/km/km_arm.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/keymile/km_arm/Kconfig b/board/keymile/km_arm/Kconfig
index 335a454..be6b162 100644
--- a/board/keymile/km_arm/Kconfig
+++ b/board/keymile/km_arm/Kconfig
@@ -42,6 +42,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
def_bool y
select BOARD_LATE_INIT
select DM
+ select DM_ETH
select DM_SERIAL
select DM_SPI
select DM_SPI_FLASH
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index 96227b1..d12d187 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