From: Jagan Teki Date: Mon, 28 Dec 2015 17:25:50 +0000 (+0530) Subject: spi: Add SPI_TX_DUAL mode X-Git-Tag: baikal/mips/sdk5.9~8750 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=2b11a41cefefd8d6236d5d4513ebb91058c545e2;p=uboot.git spi: Add SPI_TX_DUAL mode Added SPI_TX_DUAL mode flag. Cc: Bin Meng Cc: Mugunthan V N Tested-by: Jagan Teki Signed-off-by: Jagan Teki --- diff --git a/include/spi.h b/include/spi.h index 85866a27fc..25470e4df2 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 */