Patchwork mtd: m25p80: add support for Micron N25Q128

login
register
mail settings
Submitter Jan Luebbe
Date Aug. 24, 2012, 4:23 p.m.
Message ID <1345825430-15758-1-git-send-email-jlu@pengutronix.de>
Download mbox | patch
Permalink /patch/179871/
State New
Headers show

Comments

Jan Luebbe - Aug. 24, 2012, 4:23 p.m.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 drivers/mtd/devices/m25p80.c |    1 +
 1 file changed, 1 insertion(+)
Artem Bityutskiy - Aug. 29, 2012, 7:54 a.m.
On Fri, 2012-08-24 at 18:23 +0200, Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu@pengutronix.de>

Pushed to l2-mtd.git, thanks!

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 980cd6d..33ab2b7 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -663,6 +663,7 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
 
 	/* Micron */
+	{ "n25q128",  INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
 	{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
 
 	/* Spansion -- single (large) sector size only, at least