[U-Boot] [PATCH v2] EXYNOS: SPI: Support SPI_PREAMBLE mode

Simon Glass sjg at chromium.org
Sat May 11 17:05:37 CEST 2013


On Sat, May 11, 2013 at 9:04 AM, Simon Glass <sjg at chromium.org> wrote:
> From: Rajeshwari Shinde <rajeshwari.s at samsung.com>
>
> Support interfaces with a preamble before each received message.
>
> We handle this when the client has requested a SPI_XFER_END, meaning
> that we must close of the transaction. In this case we read until we
> see the preamble (or a timeout occurs), skipping all data before and
> including the preamble. The client will receive only data bytes after
> the preamble.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s at samsung.com>
> ---
> Changes in v2:
> - Remove preamable_count variable which is not really needed
> - Fix checkpatch warning (multiple assignments)

This v2 patch fixes the nits reported.

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


More information about the U-Boot mailing list