u-boot-brain/drivers
Jon Medhurst (Tixy) 0612fcbcb1 MMC: PL180: Fix infinite loop with VExpress extended fifo implementation
The new IO FPGA implementation for Versatile Express contains an MMCI
(PL180) cell with the FIFO extended to 128 words. This causes the
read_bytes() function to go into an infinite loop; as it will wait for
for the half-full signal (SDI_STA_RXFIFOBR) if there are more than 8
words remaining (SDI_FIFO_BURST_SIZE), but it won't receive this signal
once there are fewer than 64 words left to transfer.

One possible fix is to add some build time configuration to change
SDI_FIFO_BURST_SIZE for the new implementation. However, the problematic
code only seems to exist as a small performance optimisation, so the
solution implemented by this patch is to simply remove it. The error
checking following the loop is also removed as this will be handled by
code further down the function.

Cc: Andy Fleming <afleming@gmail.com>
Signed-off-by: Jon Medhurst <jon.medhurst@linaro.org>
2011-11-08 14:39:58 -06:00
..
bios_emulator Replace space and tab checks with isblank 2011-10-17 22:25:34 +02:00
block GCC4.6: Squash warnings in sata_sil3114.c 2011-10-27 23:54:05 +02:00
dma omap3: Add interface for omap3 DMA 2011-10-27 21:56:34 +02:00
fpga GCC4.6: Squash warnings in lattice.c 2011-10-27 23:54:07 +02:00
gpio gpio: mvmfp: reduce include platform file 2011-10-27 21:56:33 +02:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c Merge branch 'master' of git://git.denx.de/u-boot-arm 2011-11-08 00:38:52 +01:00
input Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
misc misc: pmic: fix regression in pmic_fsl.c (SPI) 2011-11-03 22:56:18 +01:00
mmc MMC: PL180: Fix infinite loop with VExpress extended fifo implementation 2011-11-08 14:39:58 -06:00
mtd spl, nand: add 4bit HW ecc oob first nand_read_page function 2011-11-03 22:56:25 +01:00
net Merge branch 'master' of git://git.denx.de/u-boot-arm 2011-11-08 00:38:52 +01:00
pci GCC4.6: Squash warnings in fsl_pci_init.c 2011-10-27 23:54:05 +02:00
pcmcia drivers/pcmcia/mpc8xx_pcmcia.c: Fix GCC 4.6 build warning 2011-11-07 22:11:46 +01:00
power mmc: omap: config VMMC, MMC1_PBIAS 2011-09-30 22:00:55 +02:00
qe fsl: Change fsl_phy_enet_if to phy_interface_t 2011-04-20 15:09:35 -05:00
rtc Merge branch 'master' of git://git.denx.de/u-boot-arm 2011-11-08 00:38:52 +01:00
serial sandbox: put stdin into raw mode 2011-11-03 22:35:21 +01:00
spi Merge branch 'master' of git://git.denx.de/u-boot-arm 2011-10-28 00:15:19 +02:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb ehci-mxc: remove incorrect comment 2011-11-04 22:06:37 +01:00
video Merge branch 'master' of git://git.denx.de/u-boot-arm 2011-11-08 00:38:52 +01:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00