summaryrefslogtreecommitdiffstats
path: root/include/spi.h
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-12-28 22:08:40 +0530
committerJagan Teki <jteki@openedev.com>2016-01-13 18:47:27 +0530
commit1c17f5ec571cac6e0867f64607b052d6ffa0b1c1 (patch)
treea3a5daef164a1a09e8d7ee85d5fbe91f81b81d7a /include/spi.h
parent465c00d78e57209fb11ba5e6bc6abfc501ed07de (diff)
downloadtalos-obmc-uboot-1c17f5ec571cac6e0867f64607b052d6ffa0b1c1.tar.gz
talos-obmc-uboot-1c17f5ec571cac6e0867f64607b052d6ffa0b1c1.zip
sf: Make IO modes at last in read modes
SLOW, FAST, DUAL, DUAL_IO, QUAD, QUAD_IO changed order to SLOW, FAST, DUAL, QUAD, DUAL_IO, QUAD_IO Cc: Simon Glass <sjg@chromium.org> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spi.h b/include/spi.h
index 80f8523076..85866a27fc 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -30,7 +30,7 @@
#define SPI_RX_SLOW BIT(0) /* receive with 1 wire slow */
#define SPI_RX_FAST BIT(1) /* receive with 1 wire fast */
#define SPI_RX_DUAL BIT(2) /* receive with 2 wires */
-#define SPI_RX_QUAD BIT(4) /* receive with 4 wires */
+#define SPI_RX_QUAD BIT(3) /* receive with 4 wires */
/* SPI bus connection options - see enum spi_dual_flash */
#define SPI_CONN_DUAL_SHARED (1 << 0)
OpenPOWER on IntegriCloud