
9 May
2013
9 May
'13
5:22 a.m.
On Mon, Mar 25, 2013 at 1:56 AM, Rajeshwari Shinde rajeshwari.s@samsung.com wrote:
Since SPI register access is so expensive, it is worth transferring data a word at a time if we can. This complicates the driver unfortunately.
Use the byte-swapping feature to avoid having to convert to/from big endian in software.
This change increases speed from about 2MB/s to about 4.5MB/s.
Based on "EXYNOS: SPI: Minimise access to SPI FIFO level" link: http://patchwork.ozlabs.org/patch/230034/
Signed-off-by: Simon Glass sjg@chromium.org Signed-off-by: Rajeshwari Shinde rajeshwari.s@samsung.com
We tested this today.
Acked-by: Simon Glass sjg@chromium.org Tested-by: Simon Glass sjg@chromium.org