Merge branch 'master' of /home/wd/git/u-boot/custodians
[oweals/u-boot.git] / drivers / net / mpc5xxx_fec.c
index c88e596c01fa222dd5b0cfc2034791c898316c5b..bc8c9222dcf8f9ac9f9d41ba9d16b03279b19cda 100644 (file)
@@ -249,6 +249,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
         */