Re: [U-Boot] [PATCH 2/2] EXYNOS: SPI: Support SPI_PREAMBLE mode

2013-05-11 Thread Simon Glass
Hi, On Thu, May 2, 2013 at 7:28 PM, Vadim Bendebury vben...@chromium.org wrote: On Thu, Mar 21, 2013 at 11:29 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: Support interfaces with a preamble before each received message. We handle this when the client has requested a SPI_XFER_END,

Re: [U-Boot] [PATCH 2/2] EXYNOS: SPI: Support SPI_PREAMBLE mode

2013-05-11 Thread Simon Glass
Hi Vadim, On Mon, May 6, 2013 at 10:01 AM, Vadim Bendebury vben...@chromium.org wrote: On Mon, May 6, 2013 at 7:37 AM, Simon Glass s...@chromium.org wrote: HI Vadim, On Thu, May 2, 2013 at 11:12 PM, Vadim Bendebury vben...@chromium.org wrote: [the original patch removed, re-sending from

Re: [U-Boot] [PATCH 2/2] EXYNOS: SPI: Support SPI_PREAMBLE mode

2013-05-06 Thread Simon Glass
Hi Vadim, On Thu, May 2, 2013 at 7:28 PM, Vadim Bendebury vben...@chromium.org wrote: On Thu, Mar 21, 2013 at 11:29 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: Support interfaces with a preamble before each received message. We handle this when the client has requested a

Re: [U-Boot] [PATCH 2/2] EXYNOS: SPI: Support SPI_PREAMBLE mode

2013-05-06 Thread Simon Glass
HI Vadim, On Thu, May 2, 2013 at 11:12 PM, Vadim Bendebury vben...@chromium.org wrote: [the original patch removed, re-sending from a registered address] So, I spent some more time debugging a system which requires this patch: a system, where on a SPI interface a response to a command could

Re: [U-Boot] [PATCH 2/2] EXYNOS: SPI: Support SPI_PREAMBLE mode

2013-05-06 Thread Vadim Bendebury
On Mon, May 6, 2013 at 7:37 AM, Simon Glass s...@chromium.org wrote: HI Vadim, On Thu, May 2, 2013 at 11:12 PM, Vadim Bendebury vben...@chromium.org wrote: [the original patch removed, re-sending from a registered address] So, I spent some more time debugging a system which requires this

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

2013-05-03 Thread Vadim Bendebury
[the original patch removed] So, I spent some more time debugging a system which requires this patch: a system, where on a SPI interface a response to a command could come way later then the command data transmission completes. The original patch was trying to address many corner cases, but come

Re: [U-Boot] [PATCH 2/2] EXYNOS: SPI: Support SPI_PREAMBLE mode

2013-05-02 Thread Vadim Bendebury
On Thu, Mar 21, 2013 at 11:29 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: 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

Re: [U-Boot] [PATCH 2/2] EXYNOS: SPI: Support SPI_PREAMBLE mode

2013-05-02 Thread Vadim Bendebury
[the original patch removed, re-sending from a registered address] So, I spent some more time debugging a system which requires this patch: a system, where on a SPI interface a response to a command could come way later then the command data transmission completes. The original patch was trying

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

2013-03-22 Thread Rajeshwari Shinde
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.