[U-Boot] OMAP3 SPI : Fixed bugs related to SPI transfer
Tom Rini
trini at ti.com
Mon Dec 10 21:16:35 CET 2012
On Sat, Nov 17, 2012 at 09:10:15PM -0000, Ajoy Kumar Das wrote:
> From: ajoy <akdas75 at yahoo.in>
>
> Added posted writes (read after writes) to effect the
> change immediately for channel confiuration and channel
> enable register
>
> Disable the channel to purge receieve data in TX_ONLY
> mode transfer otherwise rx data will get affected by
> the next immediate RX_ONLY mode transfer
>
> Wait for the EOT bit to be set after last byte has been
> loaded to TX shift register in the the TX_ONLY mode.This
> ensures TX data has been completely shifted out
>
> Disable the channel in RX_ONLY mode before reading the
> last data from RXX register to prevent the SPI slave
> to transmit next word
>
> Signed-off-by: Ajoy Kumar Das <akdas75 at yahoo.in>
> Cc: Tom Rini <trini at ti.com>
> Cc: jacopo mondi <j.mondi at voltaelectronics.com>
Applied to u-boot-ti/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121210/d952836c/attachment.pgp>
More information about the U-Boot
mailing list