diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-08-31 10:45:44 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-02 21:18:18 -0700 |
commit | 8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0 (patch) | |
tree | ba9fe46a4ee78f693f456bef7d8aa93662b09886 /board/cu824/cu824.c | |
parent | ad3381cf4167120db5c7b88e4970245e1d5c0a32 (diff) | |
download | u-boot-imx-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.zip u-boot-imx-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.tar.gz u-boot-imx-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.tar.bz2 |
Moved initialization of TULIP Ethernet controller to board_eth_init()
Affected boards:
cu824
bab7xx
adciop
dasa_sim
mousse
mpc8540eval
musenki
mvblue
pcippc2/pcippc6
sbc8240
stxssa
Removed initialization of the driver from net/eth.c
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/cu824/cu824.c')
-rw-r--r-- | board/cu824/cu824.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/cu824/cu824.c b/board/cu824/cu824.c index ecf6328..0fd4223 100644 --- a/board/cu824/cu824.c +++ b/board/cu824/cu824.c @@ -28,6 +28,7 @@ #include <mpc824x.h> #include <asm/processor.h> #include <pci.h> +#include <netdev.h> DECLARE_GLOBAL_DATA_PTR; @@ -91,3 +92,8 @@ void pci_init_board(void) { pci_mpc824x_init(&hose); } + +int board_eth_init(bd_t *bis) +{ + return pci_eth_init(bis); +} |