diff options
author | Rajeshwari Shinde <rajeshwari.s@samsung.com> | 2013-05-28 20:10:37 +0000 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2013-06-03 00:04:40 +0530 |
commit | bb786b84bdbcfe0474d53a54c82c5695494a6ab5 (patch) | |
tree | c329b3cc06a64f9312ac988d48305b89af8056ae /board/sandburst | |
parent | ed03f41778c7a11adf81816278c92dfae23d6d77 (diff) | |
download | u-boot-imx-bb786b84bdbcfe0474d53a54c82c5695494a6ab5.zip u-boot-imx-bb786b84bdbcfe0474d53a54c82c5695494a6ab5.tar.gz u-boot-imx-bb786b84bdbcfe0474d53a54c82c5695494a6ab5.tar.bz2 |
spi: Add support for preamble bytes
A SPI slave may take time to react to a request. For SPI flash devices
this time is defined as one bit time, or a whole byte for 'fast read'
mode.
If the SPI slave is another CPU, then the time it takes to react may
vary. It is convenient to allow the slave device to tag the start of
the actual reply so that the host can determine when this 'preamble'
finishes and the actual message starts.
Add a preamble flag to the available SPI flags. If supported by the
driver then it will ignore any received bytes before the preamble
on each transaction. This ensures that reliable communication with
the slave is possible.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'board/sandburst')
0 files changed, 0 insertions, 0 deletions