diff options
author | Jagan Teki <jteki@openedev.com> | 2015-12-13 14:42:45 (GMT) |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-01-13 13:17:25 (GMT) |
commit | cdf3393814d4d811772b4414def79a05ed75b749 (patch) | |
tree | e468e07abae0f9ca89cf5347eb85a2734fac6894 /include | |
parent | 095a41d3c281b2c6576ea7e42780b565d619a1af (diff) | |
download | u-boot-fsl-qoriq-cdf3393814d4d811772b4414def79a05ed75b749.tar.xz |
spi: Rename SPI_TX_BP|QPP to SPI_TX_BYTE|QUAD
Since SPI_TX_* are spi_slave{} members so use spi protocol
notation instead spi flash programming, like
SPI_TX_BP => SPI_TX_BYTE
SPI_TX_QPP => SPI_TX_QUAD
Cc: Simon Glass <sjg@chromium.org>
Tested-by: Jagan Teki <jteki@openedev.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/spi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/spi.h b/include/spi.h index 67521721..b9a6e6f 100644 --- a/include/spi.h +++ b/include/spi.h @@ -23,8 +23,8 @@ #define SPI_LOOP 0x20 /* loopback mode */ #define SPI_SLAVE 0x40 /* slave mode */ #define SPI_PREAMBLE 0x80 /* Skip preamble bytes */ -#define SPI_TX_BP 0x100 /* transmit with 1 wire byte */ -#define SPI_TX_QPP 0x200 /* transmit with 4 wires */ +#define SPI_TX_BYTE 0x100 /* transmit with 1 wire byte */ +#define SPI_TX_QUAD 0x200 /* transmit with 4 wires */ /* SPI transfer flags */ #define SPI_XFER_BEGIN 0x01 /* Assert CS before transfer */ |