FEC: Allow registering MII postconfiguration callback
[oweals/u-boot.git] / include / netdev.h
index e979cbd32457beb07afbf8a756befd3f0a8bf311..480453e51d7394777f2a301ecc80023425262521 100644 (file)
@@ -186,4 +186,9 @@ struct mv88e61xx_config {
 int mv88e61xx_switch_initialize(struct mv88e61xx_config *swconfig);
 #endif /* CONFIG_MV88E61XX_SWITCH */
 
+/*
+ * Allow FEC to fine-tune MII configuration on boards which require this.
+ */
+int fecmxc_register_mii_postcall(struct eth_device *dev, int (*cb)(int));
+
 #endif /* _NETDEV_H_ */