aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/m25p80.c
diff options
context:
space:
mode:
authorFlavio Silveira <fggs@terra.com.br>2013-09-03 19:25:54 -0400
committerBrian Norris <computersforpeace@gmail.com>2013-10-27 19:27:07 -0400
commite6db7c8484187f8bf6012cbc700f7b62cdc809be (patch)
tree079565a04eb653eb31c8f4365b51d463055dd4ba /drivers/mtd/devices/m25p80.c
parent14ac07856fee903879f11932e313695de8156e9c (diff)
mtd: m25p80: Add support for ESMT F25L32PA
This flashchip is used in D-Link DIR-610 A1 router board and maybe several others, yet is not kernel upstream. So add support for it according to datasheet [0], making it easier to support other boards using this flashchip in the future. [0] http://www.esmt.com.tw/DB/manager/upload/F25L32PA.pdf Signed-off-by: Flavio Silveira <fggs@terra.com.br> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/devices/m25p80.c')
-rw-r--r--drivers/mtd/devices/m25p80.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 6bc9618af094..fbc8e7308027 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -756,6 +756,9 @@ static const struct spi_device_id m25p_ids[] = {
756 { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, 756 { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) },
757 { "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) }, 757 { "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) },
758 758
759 /* ESMT */
760 { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K) },
761
759 /* Everspin */ 762 /* Everspin */
760 { "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2, M25P_NO_ERASE | M25P_NO_FR) }, 763 { "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2, M25P_NO_ERASE | M25P_NO_FR) },
761 { "mr25h10", CAT25_INFO(128 * 1024, 1, 256, 3, M25P_NO_ERASE | M25P_NO_FR) }, 764 { "mr25h10", CAT25_INFO(128 * 1024, 1, 256, 3, M25P_NO_ERASE | M25P_NO_FR) },