diff options
author | Stefan Roese <sr@denx.de> | 2019-09-30 10:26:42 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2019-12-09 09:47:42 -0600 |
commit | 27c3f70f3b50b05051792ef97a7ee13b6a2ed40b (patch) | |
tree | 63418dcf4cb1c9452839e554d57f21279eb0a04e /cmd/elf.c | |
parent | 7d9701db40895ff5271220ae852d3631b4500219 (diff) |
net: phy: Increase link up delay in genphy_update_link()
I've noticed that in most cases when genphy_update_link() is called, the
ethernet driver (mt7628-eth in this case) fails with the first ethernet
packets. Resulting in a timeout of the first tftp command. Increasing
the delay in the link check look from 1 to 50 ms and moving it below the
BMSR register read fixes this issue, resulting in a stable ethernet
traffic, even after initial link autonogotiation.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Weijie Gao <weijie.gao@mediatek.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'cmd/elf.c')
0 files changed, 0 insertions, 0 deletions