提交 fcfb9a57 编写于 作者: J Jin Zhengxiong-R64188 提交者: Jon Loeliger

Fix Tsec bug when no link

 When tftp a non-exist file from the tftp server, u-boot will check
 the link of all eth port. The original file will return wrong link
 state on the no link ports.
signed-off-by: NJason Jin <Jason.Jin@freescale.com>
上级 bd22c2b9
......@@ -372,7 +372,7 @@ uint mii_parse_sr(uint mii_reg, struct tsec_private *priv)
if (i > PHY_AUTONEGOTIATE_TIMEOUT) {
puts (" TIMEOUT !\n");
priv->link = 0;
break;
return 0;
}
if ((i++ % 1000) == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册