summaryrefslogtreecommitdiff
path: root/drivers/net/mpc5xxx_fec.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mpc5xxx_fec.c')
-rw-r--r--drivers/net/mpc5xxx_fec.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/mpc5xxx_fec.c b/drivers/net/mpc5xxx_fec.c
index c88e596..bc8c922 100644
--- a/drivers/net/mpc5xxx_fec.c
+++ b/drivers/net/mpc5xxx_fec.c
@@ -250,6 +250,13 @@ static int mpc5xxx_fec_init(struct eth_device *dev, bd_t * 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
*/
mpc5xxx_fec_rbd_init(fec);