From: Fabio Estevam <fabio.este...@freescale.com> Do not indicate an error when the buffer ready flag (FEC_TBD_READY) is set.
Without this change, mx6solox is not capable of doing TFTP transfers. Succesfully tested on mx25, mx28, mx51, mx53, mx6q, mx6sl and mx6sx. Signed-off-by: Fabio Estevam <fabio.este...@freescale.com> --- drivers/net/fec_mxc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 68134ae..d9031db 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -724,8 +724,6 @@ static int fec_send(struct eth_device *dev, void *packet, int length) ret = -EINVAL; invalidate_dcache_range(addr, addr + size); - if (readw(&fec->tbd_base[fec->tbd_index].status) & FEC_TBD_READY) - ret = -EINVAL; debug("fec_send: status 0x%x index %d ret %i\n", readw(&fec->tbd_base[fec->tbd_index].status), -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot