diff options
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-01-21 07:59:19 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-03-11 01:42:20 -0400 |
commit | f5e00838e83f6fc93f42c7a01b0c612031955b31 (patch) | |
tree | 8740eb45882aead2a652c7d6ed086f97d2e4b7f1 /drivers/mtd/devices/m25p80.c | |
parent | dbbafb74239e8296bc20f86366b3f38e13650900 (diff) |
mtd: m25p80: Enable Dual SPI read transfers for s25fl256s1 and s25fl512s
Spansion s25fl256s1 and s25fl512s support Dual SPI transfers, hence set the
M25P80_DUAL_READ flag.
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/devices/m25p80.c')
-rw-r--r-- | drivers/mtd/devices/m25p80.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 73bf661100f7..f0871a2e449d 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c | |||
@@ -960,8 +960,8 @@ static const struct spi_device_id m25p_ids[] = { | |||
960 | { "s25sl032p", INFO(0x010215, 0x4d00, 64 * 1024, 64, 0) }, | 960 | { "s25sl032p", INFO(0x010215, 0x4d00, 64 * 1024, 64, 0) }, |
961 | { "s25sl064p", INFO(0x010216, 0x4d00, 64 * 1024, 128, 0) }, | 961 | { "s25sl064p", INFO(0x010216, 0x4d00, 64 * 1024, 128, 0) }, |
962 | { "s25fl256s0", INFO(0x010219, 0x4d00, 256 * 1024, 128, 0) }, | 962 | { "s25fl256s0", INFO(0x010219, 0x4d00, 256 * 1024, 128, 0) }, |
963 | { "s25fl256s1", INFO(0x010219, 0x4d01, 64 * 1024, 512, M25P80_QUAD_READ) }, | 963 | { "s25fl256s1", INFO(0x010219, 0x4d01, 64 * 1024, 512, M25P80_DUAL_READ | M25P80_QUAD_READ) }, |
964 | { "s25fl512s", INFO(0x010220, 0x4d00, 256 * 1024, 256, M25P80_QUAD_READ) }, | 964 | { "s25fl512s", INFO(0x010220, 0x4d00, 256 * 1024, 256, M25P80_DUAL_READ | M25P80_QUAD_READ) }, |
965 | { "s70fl01gs", INFO(0x010221, 0x4d00, 256 * 1024, 256, 0) }, | 965 | { "s70fl01gs", INFO(0x010221, 0x4d00, 256 * 1024, 256, 0) }, |
966 | { "s25sl12800", INFO(0x012018, 0x0300, 256 * 1024, 64, 0) }, | 966 | { "s25sl12800", INFO(0x012018, 0x0300, 256 * 1024, 64, 0) }, |
967 | { "s25sl12801", INFO(0x012018, 0x0301, 64 * 1024, 256, 0) }, | 967 | { "s25sl12801", INFO(0x012018, 0x0301, 64 * 1024, 256, 0) }, |