]> git.sur5r.net Git - u-boot/blobdiff - board/lubbock/lubbock.c
Blackfin: bfin_mac: hook up new write_hwaddr function
[u-boot] / board / lubbock / lubbock.c
index 58291706c0d91b044cdaaee362f92a7a206e035e..d8d6ffbf6174fdfc44318a06fc7fb204cd9568ef 100644 (file)
@@ -26,6 +26,7 @@
  */
 
 #include <common.h>
+#include <netdev.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -68,3 +69,14 @@ int dram_init (void)
 
        return 0;
 }
+
+#ifdef CONFIG_CMD_NET
+int board_eth_init(bd_t *bis)
+{
+       int rc = 0;
+#ifdef CONFIG_LAN91C96
+       rc = lan91c96_initialize(0, CONFIG_LAN91C96_BASE);
+#endif
+       return rc;
+}
+#endif