]> git.sur5r.net Git - u-boot/blobdiff - board/eNET/eNET.c
eNET: Add support for onboard RTL8100B (RTL8139) chips
[u-boot] / board / eNET / eNET.c
index 52ea1407b5aa40e12eb5233b96cd936ebc210040..62f99ce94dbcd5be00e33846e4027300d6dfbafe 100644 (file)
@@ -24,6 +24,8 @@
 #include <common.h>
 #include <asm/io.h>
 #include <asm/ic/sc520.h>
+#include <net.h>
+#include <netdev.h>
 
 #ifdef CONFIG_HW_WATCHDOG
 #include <watchdog.h>
@@ -173,3 +175,8 @@ ulong board_flash_get_legacy (ulong base, int banknum, flash_info_t * info)
        } else
                return 0;
 }
+
+int board_eth_init(bd_t *bis)
+{
+       return pci_eth_init(bis);
+}