u-boot-brain/drivers
Yen Lin 60acde43d7 spi: tegra: clear RDY bit prior to every transfer
The RDY bit indicates that a transfer is complete. This needs to be
cleared by SW before every single HW transaction, rather than only
at the start of each SW transaction (those being made up of n HW
transactions).

It seems that earlier HW may have cleared this bit autonomously when
starting a new transfer, and hence this code was not needed in practice.
However, this is generally a good idea in all cases. In Tegra124, the
HW behaviour appears to have changed, and SW must explicitly clear this
bit. Otherwise, SW will believe that transfers have completed when they
have not, and may e.g. read stale data from the RX FIFO.

Signed-off-by: Yen Lin <yelin@nvidia.com>
[swarren, rewrote commit description, unified duplicate RDY clearing code
and moved it right before the start of the HW transaction, unconditionally
exit loop after reading RX data, rather than checking if TX FIFO is empty,
since it is guaranteed to be]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
2013-12-19 00:00:51 +05:30
..
bios_emulator bios_emulator: delete an unnecessary include path 2013-11-25 10:41:54 -05:00
block ahci: Fix cache align error messages 2013-12-04 08:12:08 -05: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 usb: dfu: make nand upload working 2013-11-08 20:46:20 +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 at91: add new gpio pin definitions 2013-12-09 13:21:26 +01:00
hwmon cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
i2c Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-12-10 17:15:18 -05:00
input drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
misc spi_flash: Add spi_flash_probe_fdt() to locate SPI by FDT node 2013-12-09 12:22:12 -07:00
mmc mmc: add Faraday FTSDC021 SDHCI controller support 2013-12-08 14:23:05 +02:00
mtd sf: probe: add support for MX25L2006E 2013-12-18 23:23:41 +05:30
net net: sh-eth: add support for SH7753 2013-12-18 16:49:45 +09: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 ARMV7: OMAP4: Add twl6032 support 2013-12-04 08:11:28 -05: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 serial_sh: add support for SH7753 2013-12-18 16:50:00 +09: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 drivers: tpm: clean up unused code 2013-11-17 14:11:30 -05:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb drivers/usb/gadget: select objects by obj-$(CONFIG-...) 2013-12-13 09:18:44 -05: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