]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/esd/pf5200/pf5200.c
Moved initialization of NS8382X Ethernet controller to board_eth_init()
[people/ms/u-boot.git] / board / esd / pf5200 / pf5200.c
index 7970f8988fce6cfd8a5ecc0275d6d7358c8ae696..c4c0221d02f6363e9da440ec47ac9451460d9a52 100644 (file)
@@ -32,6 +32,7 @@
 #include <mpc5xxx.h>
 #include <pci.h>
 #include <command.h>
+#include <netdev.h>
 
 #include "mt46v16m16-75.h"
 
@@ -264,6 +265,11 @@ void init_power_switch(void)
        __asm__ volatile ("sync");
 }
 
+int board_eth_init(bd_t *bis)
+{
+       return pci_eth_init(bis);
+}
+
 void power_set_reset(int power)
 {
        debug("ide_set_reset(%d)\n", power);