status_led: Kconfig migration
[platform/kernel/u-boot.git] / include / spi.h
index b262e06..deb65ef 100644 (file)
 #define SPI_TX_DUAL    BIT(9)                  /* transmit with 2 wires */
 #define SPI_TX_QUAD    BIT(10)                 /* transmit with 4 wires */
 #define SPI_RX_SLOW    BIT(11)                 /* receive with 1 wire slow */
-#define SPI_RX_FAST    BIT(12)                 /* receive with 1 wire fast */
-#define SPI_RX_DUAL    BIT(13)                 /* receive with 2 wires */
-#define SPI_RX_QUAD    BIT(14)                 /* receive with 4 wires */
-
-/* SPI bus connection options - see enum spi_dual_flash */
-#define SPI_CONN_DUAL_SHARED           (1 << 0)
-#define SPI_CONN_DUAL_SEPARATED        (1 << 1)
+#define SPI_RX_DUAL    BIT(12)                 /* receive with 2 wires */
+#define SPI_RX_QUAD    BIT(13)                 /* receive with 4 wires */
 
 /* Header byte that marks the start of the message */
 #define SPI_PREAMBLE_END_BYTE  0xec
@@ -94,7 +89,6 @@ struct dm_spi_slave_platdata {
  * @max_write_size:    If non-zero, the maximum number of bytes which can
  *                     be written at once, excluding command bytes.
  * @memory_map:                Address of read-only SPI flash access.
- * @option:            Varies SPI bus options - separate, shared bus.
  * @flags:             Indication of SPI flags.
  */
 struct spi_slave {
@@ -118,7 +112,6 @@ struct spi_slave {
 #define SPI_XFER_ONCE          (SPI_XFER_BEGIN | SPI_XFER_END)
 #define SPI_XFER_MMAP          BIT(2)  /* Memory Mapped start */
 #define SPI_XFER_MMAP_END      BIT(3)  /* Memory Mapped End */
-#define SPI_XFER_U_PAGE                BIT(4)
 };
 
 /**