[U-Boot] [PATCH] EXYNOS: SPI: Support word transfers

Simon Glass sjg at chromium.org
Thu May 9 05:22:44 CEST 2013


On Mon, Mar 25, 2013 at 1:56 AM, Rajeshwari Shinde
<rajeshwari.s at 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 at chromium.org>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s at samsung.com>

We tested this today.

Acked-by: Simon Glass <sjg at chromium.org>
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list