[PATCH] Add P3x support with CFI 1.5

David Woodhouse dwmw2 at infradead.org
Fri Nov 23 04:36:20 EST 2007


On Fri, 2007-11-23 at 09:31 +0000, Alexey Korolev wrote:
> Hi,
> Thank you for attention.
> > > This is the second post of the patch enabling support of P3x silicon
> > > with CFI 1.5. As I know there are _many_ people currently using P3x
> > > with CFI 1.5. The patch is trivial. It has been verified - it does not
> > > affect other silicon. Could you please acknowledge and commit the
> > > patch? 
> > 
> > Needs Signed-off-by: 
> > 
> > 
> Opps. Fixed.
> 
> This patch enables P3x support with CFI 1.5 in Linux.
> 
> Signed-off-by: Alexey Korolev <akorolev at infradead.org>
> diff -uNr a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c
> --- a/drivers/mtd/chips/cfi_cmdset_0001.c       2007-08-10 01:28:15.000000000 +0400
> +++ b/drivers/mtd/chips/cfi_cmdset_0001.c       2007-08-15 15:27:52.000000000 +0400
> @@ -276,7 +276,7 @@
>                 return NULL;
>  
>         if (extp->MajorVersion != '1' ||
> -           (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
> +           (extp->MinorVersion < '0' || extp->MinorVersion > '5')) {
>                 printk(KERN_ERR "  Unknown Intel/Sharp Extended Query "
>                        "version %c.%c.\n",  extp->MajorVersion,
>                        extp->MinorVersion);

It's whitespace-damaged, and your email address in the Signed-off-by is
broken. I corrected both and committed.

-- 
dwmw2




More information about the linux-mtd mailing list