mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
spi: Add SPI_TX_DUAL mode
Added SPI_TX_DUAL mode flag. Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> Tested-by: Jagan Teki <jteki@openedev.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
This commit is contained in:
parent
1c17f5ec57
commit
2b11a41cef
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@
|
|||
#define SPI_SLAVE BIT(6) /* slave mode */
|
||||
#define SPI_PREAMBLE BIT(7) /* Skip preamble bytes */
|
||||
#define SPI_TX_BYTE BIT(8) /* transmit with 1 wire byte */
|
||||
#define SPI_TX_QUAD BIT(9) /* transmit with 4 wires */
|
||||
#define SPI_TX_DUAL BIT(9) /* transmit with 2 wires */
|
||||
#define SPI_TX_QUAD BIT(10) /* transmit with 4 wires */
|
||||
|
||||
/* SPI mode_rx flags */
|
||||
#define SPI_RX_SLOW BIT(0) /* receive with 1 wire slow */
|
||||
|
|
Loading…
Reference in a new issue