summaryrefslogtreecommitdiff
path: root/include/spi.h
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-12-16 15:15:41 +0530
committerJagan Teki <jteki@openedev.com>2016-01-13 18:47:26 +0530
commite5961f07068443bf55a8a71ef04e7364583e495a (patch)
tree9366817402e5bd045315fcfd749e15142eb3d26f /include/spi.h
parent43655224219d7127eb5b96934e1ff43bde13b91d (diff)
downloadu-boot-imx-e5961f07068443bf55a8a71ef04e7364583e495a.zip
u-boot-imx-e5961f07068443bf55a8a71ef04e7364583e495a.tar.gz
u-boot-imx-e5961f07068443bf55a8a71ef04e7364583e495a.tar.bz2
spi: Rename SPI_OPM_RX_* to SPI_RX_*
SPI_OPM_RX_AS - SPI_RX_SLOW SPI_OPM_RX_AF - SPI_RX_FAST SPI_OPM_RX_DOUT - SPI_RX_DUAL SPI_OPM_RX_QOF - SPI_RX_QUAD Cc: Simon Glass <sjg@chromium.org> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include/spi.h')
-rw-r--r--include/spi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/spi.h b/include/spi.h
index 3e3480a..fd09502 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -35,10 +35,10 @@
#define SPI_XFER_U_PAGE (1 << 5)
/* SPI RX operation modes */
-#define SPI_OPM_RX_AS (1 << 0)
-#define SPI_OPM_RX_AF (1 << 1)
-#define SPI_OPM_RX_DOUT (1 << 2)
-#define SPI_OPM_RX_QOF (1 << 4)
+#define SPI_RX_SLOW (1 << 0)
+#define SPI_RX_FAST (1 << 1)
+#define SPI_RX_DUAL (1 << 2)
+#define SPI_RX_QUAD (1 << 4)
/* SPI bus connection options - see enum spi_dual_flash */
#define SPI_CONN_DUAL_SHARED (1 << 0)