diff options
author | Tom Rini <trini@konsulko.com> | 2015-08-17 17:19:40 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-17 17:19:40 -0400 |
commit | ecd37e8598128e2b9b21f7857f81852bd779b728 (patch) | |
tree | cf50ca35106c87553b00d982c80ec1bc688d1391 /board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c | |
parent | 2212e69bc09ac42593794b030d64415293e141ec (diff) | |
parent | ce2cb1d3ed92e91b24db516802be3688f7c28e26 (diff) |
Merge git://git.denx.de/u-boot-marvell
Diffstat (limited to 'board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c')
-rw-r--r-- | board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c index 00ca878873..d7aa1499ad 100644 --- a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c +++ b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c @@ -6,14 +6,13 @@ #include <common.h> #include <miiphy.h> +#include <netdev.h> #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> DECLARE_GLOBAL_DATA_PTR; -#define BIT(nr) (1UL << (nr)) - #define ETH_PHY_CTRL_REG 0 #define ETH_PHY_CTRL_POWER_DOWN_BIT 11 #define ETH_PHY_CTRL_POWER_DOWN_MASK (1 << ETH_PHY_CTRL_POWER_DOWN_BIT) @@ -82,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) |