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>
1 parent c0eecaa commit 943d69083c855deeb3d7ba11d1d3f2892f90901a
@Ahmad Fatoum Ahmad Fatoum authored on 14 Dec 2018
Sascha Hauer committed on 17 Dec 2018
Showing 1 changed file
View
drivers/net/fec_imx.c