diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-08-31 10:40:51 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-02 21:18:18 -0700 |
commit | 4fce2aceaf8afd31a252bc782c9dbc497bf40487 (patch) | |
tree | 59b70fb34c258780b76bbcc876455e11e3fa8558 /board/purple | |
parent | e1d7480b5de1fd4830bf7cf5e2237d3b0846d08d (diff) | |
download | u-boot-imx-4fce2aceaf8afd31a252bc782c9dbc497bf40487.zip u-boot-imx-4fce2aceaf8afd31a252bc782c9dbc497bf40487.tar.gz u-boot-imx-4fce2aceaf8afd31a252bc782c9dbc497bf40487.tar.bz2 |
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.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/purple/purple.c b/board/purple/purple.c index 9775591..c129d7a 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 + |