summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/spi-generic.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/include/spi-generic.h b/src/include/spi-generic.h
index 3b10ae9f49..6c1bc1e1fb 100644
--- a/src/include/spi-generic.h
+++ b/src/include/spi-generic.h
@@ -28,22 +28,6 @@
/* Controller-specific definitions: */
-/* SPI mode flags */
-#define SPI_CPHA 0x01 /* clock phase */
-#define SPI_CPOL 0x02 /* clock polarity */
-#define SPI_MODE_0 (0|0) /* (original MicroWire) */
-#define SPI_MODE_1 (0|SPI_CPHA)
-#define SPI_MODE_2 (SPI_CPOL|0)
-#define SPI_MODE_3 (SPI_CPOL|SPI_CPHA)
-#define SPI_CS_HIGH 0x04 /* CS active high */
-#define SPI_LSB_FIRST 0x08 /* per-word bits-on-wire */
-#define SPI_3WIRE 0x10 /* SI/SO signals shared */
-#define SPI_LOOP 0x20 /* loopback mode */
-
-/* SPI transfer flags */
-#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
#define SPI_OPCODE_FAST_READ 0x0b