[PATCH] [MTD] [NOR] Add support for the ST M29W400DB flash chip.

Gordon Farquharson gordonfarquharson at gmail.com
Thu Feb 21 16:06:44 EST 2008


Hi

Did anybody get the email below? Please let me know if I am sending it
to the wrong group because I have not received any response.

Thanks.

Gordon

On Mon, Feb 18, 2008 at 11:34 AM, Gordon Farquharson
<gordonfarquharson at gmail.com> wrote:
> I submitted this patch to the list at the beginning of January in the
>  hope that it would be included in 2.6.25. I know that the merge window
>  for 2.6.25 is closed, but is it still possible to get this into
>  2.6.25? It is not a significant change. This chip is used in the GLAN
>  Tank NAS.
>
>  Thanks.
>
>  Gordon
>
>
>
>  On Jan 8, 2008 9:35 PM, Gordon Farquharson <gordonfarquharson at gmail.com> wrote:
>  > Add support for the ST M29W400DB flash chip.
>  >
>  > Signed-off-by: Gordon Farquharson <gordonfarquharson at gmail.com>
>  >
>  > ---
>  >
>  > diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
>  > index 6405938..0b4f481 100644
>  > --- a/drivers/mtd/chips/jedec_probe.c
>  > +++ b/drivers/mtd/chips/jedec_probe.c
>  > @@ -135,6 +135,7 @@
>  >  #define M29W160DT      0x22C4
>  >  #define M29W160DB      0x2249
>  >  #define M29W040B       0x00E3
>  > +#define M29W400DB      0x00EF
>  >  #define M50FW040       0x002C
>  >  #define M50FW080       0x002D
>  >  #define M50FW016       0x002E
>  > @@ -1498,7 +1499,22 @@ static const struct amd_flash_info jedec_table[] = {
>  >                 .regions        = {
>  >                         ERASEINFO(0x10000,8),
>  >                 }
>  > -        }, {
>  > +       }, {
>  > +               .mfr_id         = MANUFACTURER_ST,
>  > +               .dev_id         = M29W400DB,
>  > +               .name           = "ST M29W400DB",
>  > +               .devtypes       = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
>  > +               .uaddr          = MTD_UADDR_0x0555_0x02AA,
>  > +               .dev_size       = SIZE_512KiB,
>  > +               .cmd_set        = P_ID_AMD_STD,
>  > +               .nr_regions     = 4,
>  > +               .regions        = {
>  > +                       ERASEINFO(0x04000,1),
>  > +                       ERASEINFO(0x02000,2),
>  > +                       ERASEINFO(0x08000,1),
>  > +                       ERASEINFO(0x10000,7)
>  > +               }
>  > +       }, {
>  >                 .mfr_id         = MANUFACTURER_ST,
>  >                 .dev_id         = M50FW040,
>  >                 .name           = "ST M50FW040",
>  >
>
>  --
>  Gordon Farquharson
>  GnuPG Key ID: 32D6D676
>



-- 
Gordon Farquharson
GnuPG Key ID: 32D6D676



More information about the linux-mtd mailing list