Patchwork mtd: m25p80: Add support for n25q064

login
register
mail settings
Submitter Alexandre Pereira da Silva
Date June 12, 2012, 7:55 p.m.
Message ID <1339530915-24799-1-git-send-email-aletes.xgr@gmail.com>
Download mbox | patch
Permalink /patch/164492/
State New
Headers show

Comments

Alexandre Pereira da Silva - June 12, 2012, 7:55 p.m.
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
---
 drivers/mtd/devices/m25p80.c |    1 +
 1 file changed, 1 insertion(+)
Artem Bityutskiy - June 19, 2012, 4:14 p.m.
On Tue, 2012-06-12 at 16:55 -0300, Alexandre Pereira da Silva wrote:
> Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>

Pushed to l2-mtd.git, thanks!

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 4cc818e..53c77bf 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -646,6 +646,7 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "160s33b",  INFO(0x898911, 0, 64 * 1024,  32, 0) },
 	{ "320s33b",  INFO(0x898912, 0, 64 * 1024,  64, 0) },
 	{ "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) },
+	{ "n25q064",  INFO(0x20ba17, 0, 64 * 1024, 128, 0) },
 
 	/* Macronix */
 	{ "mx25l2005a",  INFO(0xc22012, 0, 64 * 1024,   4, SECT_4K) },