]> git.sur5r.net Git - u-boot/blobdiff - board/eltec/bab7xx/bab7xx.c
Moved initialization of TULIP Ethernet controller to board_eth_init()
[u-boot] / board / eltec / bab7xx / bab7xx.c
index 555475e4d9c5872a3d52bc3f9465def4aa88466c..8c561161c579c1703a70dedcc5f5a653a75a2a60 100644 (file)
@@ -30,6 +30,7 @@
 #include <74xx_7xx.h>
 #include <ns87308.h>
 #include <video_fb.h>
+#include <netdev.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -162,7 +163,7 @@ long int dram_size (int board_type)
 
 /* ------------------------------------------------------------------------- */
 
-long int initdram (int board_type)
+phys_size_t initdram (int board_type)
 {
        return dram_size (board_type);
 }
@@ -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);
+}