Patchwork MTD: add JEDEC ID for w25q32wd to chip table

login
register
mail settings
Submitter ing. Federico Fuga
Date May 31, 2012, 3:38 p.m.
Message ID <1338478732-31992-1-git-send-email-fuga@studiofuga.com>
Download mbox | patch
Permalink /patch/162179/
State New
Headers show

Comments

ing. Federico Fuga - May 31, 2012, 3:38 p.m.
From: "ing. Federico Fuga" <fuga@studiofuga.com>

Adds JEDEC ID for the 1.8V version of WinBond w25q32

Signed-off-by: Federico Fuga <fuga@studiofuga.com>
---
 drivers/mtd/devices/m25p80.c |    1 +
 1 file changed, 1 insertion(+)
Artem Bityutskiy - June 5, 2012, 12:52 p.m.
On Thu, 2012-05-31 at 17:38 +0200, ing. Federico Fuga wrote:
> From: "ing. Federico Fuga" <fuga@studiofuga.com>
> 
> Adds JEDEC ID for the 1.8V version of WinBond w25q32
> 
> Signed-off-by: Federico Fuga <fuga@studiofuga.com>
> ---
>  drivers/mtd/devices/m25p80.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
> index 7c60ddd..93ea3c1 100644
> --- a/drivers/mtd/devices/m25p80.c
> +++ b/drivers/mtd/devices/m25p80.c
> @@ -757,6 +757,7 @@ static const struct spi_device_id m25p_ids[] = {
>  	{ "w25x16", INFO(0xef3015, 0, 64 * 1024,  32, SECT_4K) },
>  	{ "w25x32", INFO(0xef3016, 0, 64 * 1024,  64, SECT_4K) },
>  	{ "w25q32", INFO(0xef4016, 0, 64 * 1024,  64, SECT_4K) },
> +	{ "w25q32wd", INFO(0xef6016, 0, 64 * 1024,  64, SECT_4K) },

It is w25q32wd, not w25q32wd.
Artem Bityutskiy - June 5, 2012, 12:55 p.m.
On Tue, 2012-06-05 at 15:52 +0300, Artem Bityutskiy wrote:
> > +	{ "w25q32wd", INFO(0xef6016, 0, 64 * 1024,  64, SECT_4K) },
> 
> It is w25q32wd, not w25q32wd.

Gr, "dw", not "wd".

http://www.nexflash.com/hq/enu/ProductAndSales/ProductLines/FlashMemory/SerialFlash/W25Q32DW.htm

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 7c60ddd..93ea3c1 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -757,6 +757,7 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "w25x16", INFO(0xef3015, 0, 64 * 1024,  32, SECT_4K) },
 	{ "w25x32", INFO(0xef3016, 0, 64 * 1024,  64, SECT_4K) },
 	{ "w25q32", INFO(0xef4016, 0, 64 * 1024,  64, SECT_4K) },
+	{ "w25q32wd", INFO(0xef6016, 0, 64 * 1024,  64, SECT_4K) },
 	{ "w25x64", INFO(0xef3017, 0, 64 * 1024, 128, SECT_4K) },
 	{ "w25q64", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) },