Patchwork mtd: m25p80: add EON flash EN25Q32B into spi flash id table

login
register
mail settings
Submitter shaohui xie
Date Sept. 30, 2011, 7:08 a.m.
Message ID <1317366518-11403-1-git-send-email-Shaohui.Xie@freescale.com>
Download mbox | patch
Permalink /patch/117058/
State Accepted
Commit 86a9893d08420a320191a1bcc0136ec2b6b04595
Headers show

Comments

shaohui xie - Sept. 30, 2011, 7:08 a.m.
Add support for EON spi flash EN25Q32B, which is not listed in id table,
need to add it in the id table to support the EON flash.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 drivers/mtd/devices/m25p80.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Mike Frysinger - Sept. 30, 2011, 3 p.m.
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
Artem Bityutskiy - Oct. 14, 2011, 8:37 a.m.
On Fri, 2011-09-30 at 15:08 +0800, Shaohui Xie wrote:
> Add support for EON spi flash EN25Q32B, which is not listed in id table,
> need to add it in the id table to support the EON flash.
> 
> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

Pushed to l2-mtd-2.6.git, thanks!

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 35180e4..4e20c4d 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -671,6 +671,7 @@  static const struct spi_device_id m25p_ids[] = {
 	/* EON -- en25xxx */
 	{ "en25f32", INFO(0x1c3116, 0, 64 * 1024,  64, SECT_4K) },
 	{ "en25p32", INFO(0x1c2016, 0, 64 * 1024,  64, 0) },
+	{ "en25q32b", INFO(0x1c3016, 0, 64 * 1024,  64, 0) },
 	{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
 
 	/* Intel/Numonyx -- xxxs33b */