Patchwork [RFC] Add ESMT F25L32PA Flashchip Support

login
register
mail settings
Submitter Flávio Silveira
Date Aug. 30, 2013, 12:32 p.m.
Message ID <43F2ECB6644A4F64904E563CC1F0EF3B@THOR>
Download mbox | patch
Permalink /patch/271263/
State New
Headers show

Comments

Flávio Silveira - Aug. 30, 2013, 12:32 p.m.
Add ESMT F25L32PA support.

Datasheet: http://www.esmt.com.tw/DB/manager/upload/F25L32PA.pdf

I hope this patch is in proper format and my mail client didn't mess it.

Signed-off-by: Flavio Silveira <fggs@terra.com.br>
---
 drivers/mtd/devices/m25p80.c |    3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 2f3d2a5..3a3cf2d 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -731,6 +731,9 @@  static const struct spi_device_id m25p_ids[] = {
  { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) },
  { "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) },
 
+ /* ESMT */
+ { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K) },
+
  /* Everspin */
  { "mr25h256", CAT25_INFO(  32 * 1024, 1, 256, 2) },