summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-09-11 18:05:36 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:01:02 +0200
commit2e5f44213fd55ca53c3751061e19b0c54857900b (patch)
treee5176122a42dd71a96365ee79fb55baf7225e8cf /include
parent9e27e9dca14a3bca74a5dcc87231769bc6a7117f (diff)
downloadu-boot-imx-2e5f44213fd55ca53c3751061e19b0c54857900b.zip
u-boot-imx-2e5f44213fd55ca53c3751061e19b0c54857900b.tar.gz
u-boot-imx-2e5f44213fd55ca53c3751061e19b0c54857900b.tar.bz2
FEC: Allow registering MII postconfiguration callback
Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Ben Warren <biggerbadderben@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/netdev.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h
index e979cbd..480453e 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -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_ */