]> git.sur5r.net Git - u-boot/commit
FEC: Remove endless loop in the FEC driver
authorMarek Vasut <marex@denx.de>
Wed, 29 Aug 2012 03:49:49 +0000 (03:49 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 27 Sep 2012 17:22:09 +0000 (12:22 -0500)
commitbc1ce150b95bc51390add7fb8b74c535d1b5673c
tree960c3156eb39d01c9e6cb45caa1792f082607053
parentefe24d2e17996f00b8803623c53cfe4baede9349
FEC: Remove endless loop in the FEC driver

The FEC hardware sometimes errors out on data transfer and hangs in
the tightloop adjusted by this patch. So add timeout into the tightloop
to make such a hang recoverable.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
drivers/net/fec_mxc.c