summaryrefslogtreecommitdiffstats
path: root/board/eltec
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2008-08-31 10:45:44 -0700
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:18 -0700
commit8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0 (patch)
treeba9fe46a4ee78f693f456bef7d8aa93662b09886 /board/eltec
parentad3381cf4167120db5c7b88e4970245e1d5c0a32 (diff)
downloadtalos-obmc-uboot-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.tar.gz
talos-obmc-uboot-8ca0b3f99c4fce7a599dcaf92ae095496dc8c8e0.zip
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/eltec')
-rw-r--r--board/eltec/bab7xx/bab7xx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/eltec/bab7xx/bab7xx.c b/board/eltec/bab7xx/bab7xx.c
index af52352374..8c561161c5 100644
--- a/board/eltec/bab7xx/bab7xx.c
+++ b/board/eltec/bab7xx/bab7xx.c
@@ -30,6 +30,7 @@
#include <74xx_7xx.h>
#include <ns87308.h>
#include <video_fb.h>
+#include <netdev.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -244,3 +245,8 @@ void video_get_info_str (int line_number, char *info)
#endif
/*---------------------------------------------------------------------------*/
+
+int board_eth_init(bd_t *bis)
+{
+ return pci_eth_init(bis);
+}
OpenPOWER on IntegriCloud