u-boot-brain/drivers
Wolfgang Denk 9038e0e702 ehci-hcd.c: fix hanging under higher load
This patch solves a problem with USB hanging under higher load on a
i.MX31 board.  It falls into class of typical USB problems and fixes:
if you don't understand the real cause, add a delay somewhere.

The problem appeared after introduction of ELF relocation, which
results in smaller code, which appears to run faster (probably because
it fits better in the cache); turning off the instruction cache,
adding debug printf()s and increasing the delay have all been found to
make the problem go away.

Moving the original "udelay(1)" up in the code to it's new place made
the problem appear much less frequently. Increasing the delay to 2
microseconds then made the code run reliably in all (hour-long) tests.
To be on the safe side, we set it to 5 microseconds here.

Signed-off-by: Heiko schocher <hs@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
Cc: Stefano Babic <sbabic@denx.de>
2010-10-22 14:21:56 +02:00
..
bios_emulator ati_radeon: Support PCI virtual not eq bus mapping. 2010-04-08 15:30:47 +02:00
block mvsata_ide: adjust port init sequence 2010-10-13 09:35:54 +02:00
dma powerpc/8xxx: Fix dma for 36bit addressing 2010-08-31 11:23:15 -05:00
fpga FPGA: fix support for non-Lattice devices 2010-10-18 21:32:14 +02:00
gpio Use common function to set GPIOs for MX3 and MX5 2010-09-29 11:24:30 +02:00
hwmon ds1621: Fix negative temperature readings 2010-10-06 23:01:22 +02:00
i2c ARMV7: OMAP: I2C driver: Restructure i2c_probe function 2010-10-20 15:28:48 +02:00
input Remove HMI10 board support 2010-09-19 21:28:25 +02:00
misc Merge branch 'master' of git://git.denx.de/u-boot-arm 2010-10-13 20:59:47 +02:00
mmc PXA: pxa-regs.h cleanup 2010-10-19 22:46:22 +02:00
mtd davinci_nand, trivial : use symbolic ECC start command 2010-10-17 20:14:43 +02:00
net Fix compile warning in uli526x driver 2010-10-20 02:38:41 -05:00
pci powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
pcmcia Remove HMI10 board support 2010-09-19 21:28:25 +02:00
power Prepare v2010.09-rc1 2010-09-10 00:16:19 +02:00
qe powerpc/fsl: Introduce common enum for PHY types 2010-10-20 02:27:18 -05:00
rtc ftrtc010.c : enhance code according to original datasheet 2010-10-20 21:46:30 +02:00
serial PXA: pxa-regs.h cleanup 2010-10-19 22:46:22 +02:00
spi Merge branch 'master' of git://git.denx.de/u-boot-imx 2010-10-11 10:19:04 +02:00
twserial drivers/twserial: Add protocol driver for "three wire serial" interface. 2009-03-30 09:38:36 +02:00
usb ehci-hcd.c: fix hanging under higher load 2010-10-22 14:21:56 +02:00
video Merge branch 'master' of git://git.denx.de/u-boot-imx 2010-10-17 19:57:38 +02:00
watchdog Convert at91 watchdog driver to new SoC access 2010-04-03 15:24:27 -05:00