X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fnetdev.h;h=f2d21c45d0f3bd037543ce668db698ef74239dbc;hb=a4c67b0eb352748293b3580f8fc148b715190447;hp=a40c4adaadd7a19339abd28dbbc906c3fc1948a4;hpb=df9a7a195bdf0722399199bf373afc8309ae3ad7;p=oweals%2Fu-boot.git diff --git a/include/netdev.h b/include/netdev.h index a40c4adaad..f2d21c45d0 100644 --- a/include/netdev.h +++ b/include/netdev.h @@ -10,6 +10,7 @@ #ifndef _NETDEV_H_ #define _NETDEV_H_ +#include /* * Board and CPU-specific initialization functions @@ -21,6 +22,8 @@ */ int board_eth_init(bd_t *bis); +int board_interface_eth_init(struct udevice *dev, + phy_interface_t interface_type); int cpu_eth_init(bd_t *bis); /* Driver initialization prototypes */ @@ -122,6 +125,7 @@ int fec_probe(bd_t *bd, int dev_id, uint32_t base_addr, /* * Allow FEC to fine-tune MII configuration on boards which require this. */ +struct eth_device; int fecmxc_register_mii_postcall(struct eth_device *dev, int (*cb)(int)); #endif