aboutsummaryrefslogtreecommitdiff
path: root/include/spi.h
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki2013-12-24 15:24:31 +0530
committerJagannadha Sutradharudu Teki2014-01-11 15:13:27 +0530
commitc4ba0d82d329791c3f0456d88e93032b11e48535 (patch)
tree4514b926ce236e9b23ae4054afec41b3ea32484e /include/spi.h
parent33adfb5f9b06ac1a386dddc222cc50e24a9909e2 (diff)
sf: Add QUAD_IO_FAST read support
This patch adds support QUAD_IO_FAST read command. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'include/spi.h')
-rw-r--r--include/spi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/spi.h b/include/spi.h
index 5dd490a66e2..c8a9d87b5f9 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -39,8 +39,10 @@
#define SPI_OPM_RX_DOUT 1 << 1
#define SPI_OPM_RX_DIO 1 << 2
#define SPI_OPM_RX_QOF 1 << 3
+#define SPI_OPM_RX_QIOF 1 << 4
#define SPI_OPM_RX_EXTN SPI_OPM_RX_AS | SPI_OPM_RX_DOUT | \
- SPI_OPM_RX_DIO | SPI_OPM_RX_QOF
+ SPI_OPM_RX_DIO | SPI_OPM_RX_QOF | \
+ SPI_OPM_RX_QIOF
/* Header byte that marks the start of the message */
#define SPI_PREAMBLE_END_BYTE 0xec