diff options
author | Delio Brignoli <dbrignoli@audioscience.com> | 2010-06-07 17:16:13 -0400 |
---|---|---|
committer | Tom <Tom@bumblecow.com> | 2010-06-08 10:07:19 -0500 |
commit | 9268236529161312c877e638a14c011fd3c883e1 (patch) | |
tree | 887251d76c697ca87f92972482c320a3c375bfbd /board/ppmc7xx | |
parent | 1a5038ca6831e31875cf67c46226f04743574032 (diff) | |
download | u-boot-imx-9268236529161312c877e638a14c011fd3c883e1.zip u-boot-imx-9268236529161312c877e638a14c011fd3c883e1.tar.gz u-boot-imx-9268236529161312c877e638a14c011fd3c883e1.tar.bz2 |
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: Delio Brignoli <dbrignoli@audioscience.com>
Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/ppmc7xx')
0 files changed, 0 insertions, 0 deletions