]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/mecp5200/mecp5200.c
Moved initialization of NS8382X Ethernet controller to board_eth_init()
[karo-tx-uboot.git] / board / esd / mecp5200 / mecp5200.c
index 6d776b7a63c273f870dcbb4147e9c957782f35d7..ff44abdac5bb7e5271413ab32da2ea130092cc52 100644 (file)
@@ -32,6 +32,7 @@
 #include <mpc5xxx.h>
 #include <pci.h>
 #include <command.h>
+#include <netdev.h>
 
 #include "mt46v16m16-75.h"
 
@@ -259,3 +260,8 @@ void init_power_switch(void)
                __asm__ volatile ("sync");
        }
 }
+
+int board_eth_init(bd_t *bis)
+{
+       return pci_eth_init(bis);
+}