summaryrefslogtreecommitdiffstats
path: root/board/Marvell
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-08-11 09:36:15 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2015-08-17 18:49:47 +0200
commit41e705ac799a40d6f58d0e38e5a295fb20d5a226 (patch)
tree3958e46c91e5bd4cabd91dbbcdb9660c539947a1 /board/Marvell
parent9c28d61c8e65f2b1cf2db1ba262fe37e973beaa7 (diff)
downloadblackbird-obmc-uboot-41e705ac799a40d6f58d0e38e5a295fb20d5a226.tar.gz
blackbird-obmc-uboot-41e705ac799a40d6f58d0e38e5a295fb20d5a226.zip
arm: mvebu: db-mv784mp-gp: Enable PCI support
This patch enabled the MVEBU PCIe support on the db-mv784mp-gp AXP eval board. It also enabled the Intel E1000 driver support and adds the initialization of PCIe network controllers to the board code. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Anton Schubert <anton.schubert@gmx.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'board/Marvell')
-rw-r--r--board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c
index 78c7b7e4e6..d7aa1499ad 100644
--- a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c
+++ b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <miiphy.h>
+#include <netdev.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>
#include <asm/arch/soc.h>
@@ -80,6 +81,12 @@ int checkboard(void)
return 0;
}
+int board_eth_init(bd_t *bis)
+{
+ cpu_eth_init(bis); /* Built in controller(s) come first */
+ return pci_eth_init(bis);
+}
+
#ifdef CONFIG_RESET_PHY_R
/* Configure and enable MV88E1545 PHY */
void reset_phy(void)
OpenPOWER on IntegriCloud