u-boot/drivers
Kuo-Jung Su dcad280056 usb: gadget: fotg210: EP0 fifo empty indication is non-reliable
The fifo size of ep0 is 64 bytes, and if the packet size grater than
64 bytes, the driver would have to fill up the fifo multiple times,
and before filling up the fifo, the driver should make sure the fifo
is empty by checking fifo empty indication.

However there is a hardware bug that the fifo empty indication is
somehow a bit earlier than fifo reset. So if I don't add an extra
delay here, the data might be corrupted. (i.e., 1 byte missing)

After a couple of tests, it truns out that 1 usec is good enough.

This workaround should be applied to all hardware revisions.

Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>
CC: Marek Vasut <marex@denx.de>
2014-01-13 12:15:13 +01:00
..
bios_emulator bios_emulator: delete an unnecessary include path 2013-11-25 10:41:54 -05:00
block sandbox: block driver using host file/device as backing store 2014-01-08 17:24:03 -07:00
bootcount am33xx: Make SoC bootcount driver have its own symbol 2013-11-11 12:17:35 -05:00
crypto drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
ddr/fsl Driver/DDR: Update DDR driver to allow non-zero base address 2013-11-25 11:43:47 -08:00
dfu dfu: Export allocated dfu buffer size 2013-12-18 19:53:19 +01:00
dma drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
fpga drivers: descend into sub directories only when it is necessary 2013-11-17 14:11:30 -05:00
gpio Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2014-01-06 08:49:58 +01:00
hwmon cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
i2c i2c: tegra: Add the fifth bus on SoC with more than 4 buses 2013-12-18 10:19:49 -07:00
input drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
misc Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2014-01-06 08:49:58 +01:00
mmc socfpga/dwmmc: Adding DesignWare MMC driver support for SOCFPGA 2014-01-09 11:53:55 +02:00
mtd mtd: onenand: Fix unaligned access 2013-12-31 09:59:16 +01:00
net Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-01-10 10:56:00 -05:00
pci malta: support for coreFPGA6 boards 2013-11-09 17:21:01 +01:00
pcmcia drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
power Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2014-01-06 08:49:58 +01:00
qe drivers/qe: move the entry to drivers/Makefile 2013-11-17 14:11:31 -05:00
rtc Merge branch 'master' of git://git.denx.de/u-boot-mips 2013-11-11 09:40:34 -05:00
serial Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-01-10 10:56:00 -05:00
sound drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
spi spi: tegra: clear RDY bit prior to every transfer 2013-12-19 00:00:51 +05:30
tpm sandbox: tpm: Fix nvwrite command 2014-01-08 17:26:17 -07:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: gadget: fotg210: EP0 fifo empty indication is non-reliable 2014-01-13 12:15:13 +01:00
video Merge branch 'master' of git://git.denx.de/u-boot-video 2013-12-16 09:56:24 -05:00
watchdog Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
Makefile drivers/qe: move the entry to drivers/Makefile 2013-11-17 14:11:31 -05:00