projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of /home/wd/git/u-boot/custodians
[oweals/u-boot.git]
/
drivers
/
net
/
mpc5xxx_fec.c
diff --git
a/drivers/net/mpc5xxx_fec.c
b/drivers/net/mpc5xxx_fec.c
index c88e596c01fa222dd5b0cfc2034791c898316c5b..bc8c9222dcf8f9ac9f9d41ba9d16b03279b19cda 100644
(file)
--- a/
drivers/net/mpc5xxx_fec.c
+++ b/
drivers/net/mpc5xxx_fec.c
@@
-249,6
+249,13
@@
static int mpc5xxx_fec_init(struct eth_device *dev, bd_t * bis)
mpc5xxx_fec_init_phy(dev, bis);
mpc5xxx_fec_init_phy(dev, bis);
+ /*
+ * Call board-specific PHY fixups (if any)
+ */
+#ifdef CONFIG_RESET_PHY_R
+ reset_phy();
+#endif
+
/*
* Initialize RxBD/TxBD rings
*/
/*
* Initialize RxBD/TxBD rings
*/