Skip to content
Snippets Groups Projects
Commit 23911740 authored by Delio Brignoli's avatar Delio Brignoli Committed by Sandeep Paulraj
Browse files

DaVinci: Improve DaVinci SPI speed.

I have updated this patch based on the comments [1] by Wolfgang Denk and
removed unused variables.
[1][http://lists.denx.de/pipermail/u-boot/2010-May/071728.html

]

Reduce the number of reads per byte transferred on the BUF register from 2 to 1 and
take advantage of the TX buffer in the SPI module. On LogicPD OMAP-L138 EVM,
SPI read throughput goes up from ~0.8Mbyte/s to ~1.3Mbyte/s. Tested with a 2Mbyte image file.
Remove unused variables in the spi_xfer() function.

Signed-off-by: default avatarDelio Brignoli <dbrignoli@audioscience.com>
Tested-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent 05ee415e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment