mtd: m25p80: add EON flash EN25Q32B into spi flash id table
authorShaohui Xie <Shaohui.Xie@freescale.com>
Fri, 30 Sep 2011 07:08:38 +0000 (15:08 +0800)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 14 Oct 2011 08:36:48 +0000 (11:36 +0300)
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>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
drivers/mtd/devices/m25p80.c

index 60177fe..02aecac 100644 (file)
@@ -666,6 +666,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 */