]> git.sur5r.net Git - u-boot/blobdiff - board/ti/omap1510inn/omap1510innovator.c
Net: Clean up LAN91C96 Support
[u-boot] / board / ti / omap1510inn / omap1510innovator.c
index 894120951021397f61f8813d5d0f6698b1f0eb13..2cb60622288a4cfc75998bbaf450eb0c37c57dbc 100644 (file)
@@ -30,6 +30,7 @@
  */
 
 #include <common.h>
+#include <netdev.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -127,3 +128,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