km/rgmii: port Ethernet interface of KM Kirkwood boards to driver model
authorPascal Linder <pascal.linder@edu.hefr.ch>
Tue, 9 Jul 2019 07:30:27 +0000 (09:30 +0200)
committerStefan Roese <sr@denx.de>
Mon, 12 Aug 2019 07:12:38 +0000 (09:12 +0200)
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>
board/keymile/km_arm/Kconfig
include/configs/km/km_arm.h

index 335a45446a916d28f4899ab755096a7161350e3e..be6b162815b3ee1c6ff900110239da4abc3d317d 100644 (file)
@@ -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
index 96227b198efbcd5b01e656969d5130f71090c149..d12d18770d7cbc4795ca17b12a4d56cded92dd79 100644 (file)
@@ -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