From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 10 Dec 2012 13:16:35 -0700 Subject: [U-Boot] OMAP3 SPI : Fixed bugs related to SPI transfer In-Reply-To: <1353222615-11255-1-git-send-email-akdas75@yahoo.in> References: <1353222615-11255-1-git-send-email-akdas75@yahoo.in> Message-ID: <20121210201635.GH9044@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Nov 17, 2012 at 09:10:15PM -0000, Ajoy Kumar Das wrote: > From: ajoy > > 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 > Cc: Tom Rini > Cc: jacopo mondi 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: