diff options
author | Jagan Teki <jteki@openedev.com> | 2015-12-28 22:55:50 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-01-13 18:47:27 +0530 |
commit | 2b11a41cefefd8d6236d5d4513ebb91058c545e2 (patch) | |
tree | 1f3aded66ff25f27cdfef48d0f59cd24eee345f0 /include/spi.h | |
parent | 1c17f5ec571cac6e0867f64607b052d6ffa0b1c1 (diff) | |
download | u-boot-imx-2b11a41cefefd8d6236d5d4513ebb91058c545e2.zip u-boot-imx-2b11a41cefefd8d6236d5d4513ebb91058c545e2.tar.gz u-boot-imx-2b11a41cefefd8d6236d5d4513ebb91058c545e2.tar.bz2 |
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>
Diffstat (limited to 'include/spi.h')
-rw-r--r-- | include/spi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/spi.h b/include/spi.h index 85866a2..25470e4 100644 --- a/include/spi.h +++ b/include/spi.h @@ -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 */ |