summaryrefslogtreecommitdiffstats
path: root/commands/nand-bitflip.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2018-12-14 16:23:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-17 12:26:14 +0100
commit943d69083c855deeb3d7ba11d1d3f2892f90901a (patch)
tree1fe7042ebd8836c028fe7e4f34c34d794da1a1d0 /commands/nand-bitflip.c
parentc0eecaa80739e2d70b8973e5736953dadf4323d7 (diff)
downloadbarebox-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/nand-bitflip.c')
0 files changed, 0 insertions, 0 deletions