u-boot/drivers
Fabio Estevam f599288d55 net: fec_mxc: Poll FEC_TBD_READY after polling TDAR
When testing the FEC driver on a mx6solox we noticed that the TDAR bit gets
always cleared prior then the READY bit is cleared in the last BD, which causes
FEC packets reception to always fail.

As explained by Ye Li:

"The TDAR bit is cleared when the descriptors are all out from TX ring, but on
mx6solox we noticed that the READY bit is still not cleared right after TDAR.
These are two distinct signals, and in IC simulation, we found that TDAR always
gets cleared prior than the READY bit of last BD becomes cleared.
In mx6solox, we use a later version of FEC IP. It looks like that this
intrinsic behaviour of TDAR bit has changed in this newer FEC version."

Fix this by polling the READY bit of BD after the TDAR polling, which covers the
mx6solox case and does not harm the other SoCs.

No performance drop has been noticed with this patch applied when testing TFTP
transfers on several boards of different i.mx SoCs.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
2014-09-09 15:06:12 +02:00
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block ahci: provide sunxi SATA driver using AHCI platform framework 2014-07-31 15:37:22 +02:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
core dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
crypto includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
ddr/fsl driver/ddr: Fix DDR register timing_cfg_8 2014-07-22 16:25:55 -07:00
demo dm: Give the demo uclass a name 2014-07-23 14:08:37 +01:00
dfu dfu: Provide means to find difference between dfu-util -e and -R 2014-09-02 14:29:28 +02:00
dma omap: clean-up dead configs 2014-08-09 11:17:04 -04:00
fpga m68k: Fix warnings with gcc 4.6 2014-06-11 16:27:05 -04:00
gpio Merge branch 'u-boot-sunxi/master' into 'u-boot-arm/master' 2014-07-28 10:12:45 +02:00
hwmon kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
i2c Merge branch 'u-boot-sunxi/master' into 'u-boot-arm/master' 2014-07-28 10:12:45 +02:00
input stdio: Pass device pointer to stdio methods 2014-07-23 14:07:23 +01:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc cros_ec: Fix two bugs in the SPI implementation 2014-08-06 00:18:01 +05:30
mmc socfpga: cleanup socfpga_dw_mmc 2014-08-30 07:46:38 -04:00
mtd mtd: nand: omap_gpmc: Fix 'bit-flip' errors 2014-09-04 13:06:00 -04:00
net net: fec_mxc: Poll FEC_TBD_READY after polling TDAR 2014-09-09 15:06:12 +02:00
pci Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2014-08-29 11:06:51 -04:00
pcmcia powerpc: mpc8xx: remove svm_sc8xx board 2014-08-21 12:01:12 -04:00
power pmic: pmic_pfuze100: Use a shorter name for PMIC name 2014-08-08 10:29:41 +02:00
pwm pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00
qe driver/qe: update status of QE microcode 2014-08-20 10:44:16 -07:00
rtc RTC: add support for DS1339 (using DS1307 driver) 2014-08-14 14:45:58 +02:00
serial serial: move nios2-yanu.h into opencores_yanu driver 2014-08-30 17:48:43 +08:00
sound build: define CPU only when arch/${ARCH}/cpu/${CPU} exists 2014-07-07 19:42:34 -04:00
spi spi, spi_mxc: do not hang in spi_xchg_single 2014-08-06 00:18:01 +05:30
tpm tpm: don't use unneeded double brackets 2014-07-07 19:43:01 -04:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb USB: gadget: s3c: get rid of debug compile warning 2014-09-02 14:32:15 +02:00
video video: Add driver for Parade PS8625 dP to LVDS bridge 2014-09-05 20:37:07 +09:00
watchdog blackfin: Fix warning about undefined function 2014-07-07 19:47:09 -04:00
Makefile pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00