summaryrefslogtreecommitdiff
path: root/include/spi_flash.h
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-12-24 15:24:31 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2014-01-11 15:13:27 +0530
commitc4ba0d82d329791c3f0456d88e93032b11e48535 (patch)
tree4514b926ce236e9b23ae4054afec41b3ea32484e /include/spi_flash.h
parent33adfb5f9b06ac1a386dddc222cc50e24a9909e2 (diff)
downloadu-boot-imx-c4ba0d82d329791c3f0456d88e93032b11e48535.zip
u-boot-imx-c4ba0d82d329791c3f0456d88e93032b11e48535.tar.gz
u-boot-imx-c4ba0d82d329791c3f0456d88e93032b11e48535.tar.bz2
sf: Add QUAD_IO_FAST read support
This patch adds support QUAD_IO_FAST read command. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'include/spi_flash.h')
-rw-r--r--include/spi_flash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/spi_flash.h b/include/spi_flash.h
index 8e0bb46..99724a0 100644
--- a/include/spi_flash.h
+++ b/include/spi_flash.h
@@ -28,9 +28,10 @@ enum spi_read_cmds {
DUAL_OUTPUT_FAST = 1 << 1,
DUAL_IO_FAST = 1 << 2,
QUAD_OUTPUT_FAST = 1 << 3,
+ QUAD_IO_FAST = 1 << 4,
};
#define RD_EXTN ARRAY_SLOW | DUAL_OUTPUT_FAST | DUAL_IO_FAST
-#define RD_FULL RD_EXTN | QUAD_OUTPUT_FAST
+#define RD_FULL RD_EXTN | QUAD_OUTPUT_FAST | QUAD_IO_FAST
/**
* struct spi_flash_params - SPI/QSPI flash device params structure