summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/spi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/spi.h b/src/include/spi.h
index bee851ea97..7d195d002a 100644
--- a/src/include/spi.h
+++ b/src/include/spi.h
@@ -44,6 +44,9 @@
#define SPI_XFER_BEGIN 0x01 /* Assert CS before transfer */
#define SPI_XFER_END 0x02 /* Deassert CS after transfer */
+/* SPI opcodes */
+#define SPI_OPCODE_WREN 0x06
+
/*-----------------------------------------------------------------------
* Representation of a SPI slave, i.e. what we're communicating with.
*