diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2018-12-14 16:23:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-12-17 12:26:14 +0100 |
commit | 943d69083c855deeb3d7ba11d1d3f2892f90901a (patch) | |
tree | 1fe7042ebd8836c028fe7e4f34c34d794da1a1d0 /commands | |
parent | c0eecaa80739e2d70b8973e5736953dadf4323d7 (diff) | |
download | barebox-943d69083c855deeb3d7ba11d1d3f2892f90901a.tar.gz barebox-943d69083c855deeb3d7ba11d1d3f2892f90901a.tar.xz |
net: fec_imx: fix timeout off by *1000 error
read*_poll_timeout's final timeout parameter is in microseconds,
but the supplied arguments in fec_imx.c were in nanoseconds,
which might lead to barebox getting seemingly stuck in fec_halt
(loops for a thousand seconds instead of one).
I've tested this still works on an i.MX6D by copying a file over
TFTP and verifying the hash is correct.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions