Patchwork NAND: add Toshiba TC58NVG0 device ID

login
register
mail settings
Submitter Florian Fainelli
Date May 7, 2010, 5:09 p.m.
Message ID <201005071909.13259.florian@openwrt.org>
Download mbox | patch
Permalink /patch/51937/
State Accepted
Commit f6b173cc9d73c00a3182ec3fdb0f03909cad4b5b
Headers show

Comments

Florian Fainelli - May 7, 2010, 5:09 p.m.
This NAND flash part advertises 0xD1 as an identifier but is still a working
128MBytes x 8bits 3.3V NAND part.

Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
---
Florian Fainelli - May 25, 2010, 8:36 a.m.
On Friday 07 May 2010 19:09:13 Florian Fainelli wrote:
> This NAND flash part advertises 0xD1 as an identifier but is still a
> working 128MBytes x 8bits 3.3V NAND part.

David, Artem, anything wrong with this patch?

> 
> Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
> ---
> diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
> index 69ee2c9..89907ed 100644
> --- a/drivers/mtd/nand/nand_ids.c
> +++ b/drivers/mtd/nand/nand_ids.c
> @@ -82,6 +82,7 @@ struct nand_flash_dev nand_flash_ids[] = {
>  	/* 1 Gigabit */
>  	{"NAND 128MiB 1,8V 8-bit",	0xA1, 0, 128, 0, LP_OPTIONS},
>  	{"NAND 128MiB 3,3V 8-bit",	0xF1, 0, 128, 0, LP_OPTIONS},
> +	{"NAND 128MiB 3,3V 8-bit",	0xD1, 0, 128, 0, LP_OPTIONS},
>  	{"NAND 128MiB 1,8V 16-bit",	0xB1, 0, 128, 0, LP_OPTIONS16},
>  	{"NAND 128MiB 3,3V 16-bit",	0xC1, 0, 128, 0, LP_OPTIONS16},
Guillaume LECERF - May 25, 2010, 8:50 a.m.
2010/5/25 Florian Fainelli <ffainelli@freebox.fr>:
> David, Artem, anything wrong with this patch?

http://git.infradead.org/mtd-2.6.git/commitdiff/f6b173cc9d73c00a3182ec3fdb0f03909cad4b5b
David Woodhouse - May 25, 2010, 9:18 a.m.
On Tue, 2010-05-25 at 09:50 +0100, Guillaume LECERF wrote:
> 2010/5/25 Florian Fainelli <ffainelli@freebox.fr>:
> > David, Artem, anything wrong with this patch?
> 
> http://git.infradead.org/mtd-2.6.git/commitdiff/f6b173cc9d73c00a3182ec3fdb0f03909cad4b5b

http://git.kernel.org/linus/f6b173cc9d73c00a3182ec3fdb0f03909cad4b5b
Florian Fainelli - May 25, 2010, 9:22 a.m.
Hi Guillaume,

----- Mail d'origine -----
De: Guillaume LECERF <glecerf@gmail.com>
À: Florian Fainelli <ffainelli@freebox.fr>
Cc: David Woodhouse <david.woodhouse@intel.com>, linux-mtd@lists.infradead.org, Artem Bityutskiy <dedekind1@gmail.com>
Envoyé: Tue, 25 May 2010 10:50:13 +0200 (CEST)
Objet: Re: [PATCH] NAND: add Toshiba TC58NVG0 device ID

2010/5/25 Florian Fainelli <ffainelli@freebox.fr>:
> David, Artem, anything wrong with this patch?

http://git.infradead.org/mtd-2.6.git/commitdiff/f6b173cc9d73c00a3182ec3fdb0f03909cad4b5b

Oh, I did not see that, thanks!
--
Florian

Patch

diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
index 69ee2c9..89907ed 100644
--- a/drivers/mtd/nand/nand_ids.c
+++ b/drivers/mtd/nand/nand_ids.c
@@ -82,6 +82,7 @@  struct nand_flash_dev nand_flash_ids[] = {
 	/* 1 Gigabit */
 	{"NAND 128MiB 1,8V 8-bit",	0xA1, 0, 128, 0, LP_OPTIONS},
 	{"NAND 128MiB 3,3V 8-bit",	0xF1, 0, 128, 0, LP_OPTIONS},
+	{"NAND 128MiB 3,3V 8-bit",	0xD1, 0, 128, 0, LP_OPTIONS},
 	{"NAND 128MiB 1,8V 16-bit",	0xB1, 0, 128, 0, LP_OPTIONS16},
 	{"NAND 128MiB 3,3V 16-bit",	0xC1, 0, 128, 0, LP_OPTIONS16},