summaryrefslogtreecommitdiffstats
path: root/include/spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/spi.h')
-rw-r--r--include/spi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spi.h b/include/spi.h
index 67da75cb59..e2563c99f2 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -29,6 +29,7 @@
#define SPI_XFER_END 0x02 /* Deassert CS after transfer */
#define SPI_XFER_MMAP 0x08 /* Memory Mapped start */
#define SPI_XFER_MMAP_END 0x10 /* Memory Mapped End */
+#define SPI_XFER_ONCE (SPI_XFER_BEGIN | SPI_XFER_END)
/* Header byte that marks the start of the message */
#define SPI_PREAMBLE_END_BYTE 0xec
OpenPOWER on IntegriCloud