aboutsummaryrefslogtreecommitdiffstats
path: root/board/purple
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 10:40:51 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:18 -0700
commit4fce2aceaf8afd31a252bc782c9dbc497bf40487 (patch)
tree59b70fb34c258780b76bbcc876455e11e3fa8558 /board/purple
parente1d7480b5de1fd4830bf7cf5e2237d3b0846d08d (diff)
downloadu-boot-midas-4fce2aceaf8afd31a252bc782c9dbc497bf40487.tar.gz
u-boot-midas-4fce2aceaf8afd31a252bc782c9dbc497bf40487.tar.bz2
u-boot-midas-4fce2aceaf8afd31a252bc782c9dbc497bf40487.zip
Moved initialization of plb2800 Ethernet driver to board_eth_init
Affected boards: purple Removed initialization of controller from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/purple')
-rw-r--r--board/purple/purple.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/purple/purple.c b/board/purple/purple.c
index 9775591129..c129d7a109 100644
--- a/board/purple/purple.c
+++ b/board/purple/purple.c
@@ -23,6 +23,7 @@
#include <common.h>
#include <command.h>
+#include <netdev.h>
#include <asm/inca-ip.h>
#include <asm/regdef.h>
#include <asm/mipsregs.h>
@@ -274,3 +275,11 @@ void copy_code (ulong dest_addr)
start += CFG_CACHELINE_SIZE;
}
}
+
+#ifdef CONFIG_PLB2800_ETHER
+int board_eth_init(bd_t *bis)
+{
+ return plb2800_eth_initialize(bis);
+}
+#endif
+