]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: mvebu: armada-7k/8k: Enable MVPP2 ethernet driver
authorStefan Roese <sr@denx.de>
Mon, 20 Feb 2017 11:25:26 +0000 (12:25 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:42:29 +0000 (07:42 +0200)
Since we've now integrated the A7k/8k support in the mvpp2 ethernet
driver, lets enable the support for both Marvell developments boards.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
configs/mvebu_db-88f7040_defconfig
configs/mvebu_db-88f8040_defconfig
include/configs/mvebu_armada-8k.h

index f20158a117fe25dcec5d651a93ce0a88310f0e13..fdafeb660775212ad2538b393075bf9c6a9c52c9 100644 (file)
@@ -47,7 +47,7 @@ CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
-CONFIG_PHYLIB=y
+CONFIG_MVPP2=y
 CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_PCIE_DW_MVEBU=y
index 3611b845fe415be10173a4085d2b4ee0b0e62431..9866e1977880f3f5b7715f34b22f5a28ed15beaf 100644 (file)
@@ -47,7 +47,7 @@ CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
-CONFIG_PHYLIB=y
+CONFIG_MVPP2=y
 CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_PCIE_DW_MVEBU=y
index a8a9d15b5e9003bea6a8a6c583159bc4795dd44a..8ee5f27a9762d3d7e24e7426872d15edeeaa30d3 100644 (file)
 #define CONFIG_ENV_SIZE                        (64 << 10) /* 64KiB */
 #define CONFIG_ENV_SECT_SIZE           (64 << 10) /* 64KiB sectors */
 
+/*
+ * Ethernet Driver configuration
+ */
+#define CONFIG_ENV_OVERWRITE   /* ethaddr can be reprogrammed */
+#define CONFIG_PHY_GIGE                /* GbE speed/duplex detect */
+#define CONFIG_ARP_TIMEOUT     200
+#define CONFIG_NET_RETRY_COUNT 50
+
 /* USB 2.0 */
 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3