X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=drivers%2Fnet%2Fmpc5xxx_fec.c;h=bc8c9222dcf8f9ac9f9d41ba9d16b03279b19cda;hb=83e39072fc0f5a4217e804495e25eb8cc9b31e72;hp=c88e596c01fa222dd5b0cfc2034791c898316c5b;hpb=ae37a0704a8a27e47471f541a68b88370cd14aa8;p=oweals%2Fu-boot.git diff --git a/drivers/net/mpc5xxx_fec.c b/drivers/net/mpc5xxx_fec.c index c88e596c01..bc8c9222dc 100644 --- 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); + /* + * Call board-specific PHY fixups (if any) + */ +#ifdef CONFIG_RESET_PHY_R + reset_phy(); +#endif + /* * Initialize RxBD/TxBD rings */