mtd: spi-nor: Enable Dual and Quad SPI read transfers for s25sl032p

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jun 10 23:59:06 PDT 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=9ab86995ed07f51c45ba1b549aff2bd6e46590e9
Commit:     9ab86995ed07f51c45ba1b549aff2bd6e46590e9
Parent:     8848e161b79421e340bb13facc11d89570b77940
Author:     Geert Uytterhoeven <geert+renesas at glider.be>
AuthorDate: Tue Apr 22 14:45:32 2014 +0200
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon May 12 13:16:26 2014 -0700

    mtd: spi-nor: Enable Dual and Quad SPI read transfers for s25sl032p
    
    Spansion s25sl032p supports Dual and Quad SPI transfers, hence set the
    SPI_NOR_DUAL_READ and SPI_NOR_QUAD_READ flags.
    
    Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/spi-nor/spi-nor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index d6f44d5..c713c86 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -497,7 +497,7 @@ const struct spi_device_id spi_nor_ids[] = {
 	/* Spansion -- single (large) sector size only, at least
 	 * for the chips listed here (without boot sectors).
 	 */
-	{ "s25sl032p",  INFO(0x010215, 0x4d00,  64 * 1024,  64, 0) },
+	{ "s25sl032p",  INFO(0x010215, 0x4d00,  64 * 1024,  64, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 	{ "s25sl064p",  INFO(0x010216, 0x4d00,  64 * 1024, 128, 0) },
 	{ "s25fl256s0", INFO(0x010219, 0x4d00, 256 * 1024, 128, 0) },
 	{ "s25fl256s1", INFO(0x010219, 0x4d01,  64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },



More information about the linux-mtd-cvs mailing list