public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Guillaume LECERF <glecerf@gmail.com>
Cc: Gernot Hoyler <Gernot.Hoyler@spansion.com>,
	David Woodhouse <dwmw2@infradead.org>,
	linux-mtd@lists.infradead.org
Subject: Re: [PATCH] mtd: cfi_cmdset_0002: consider version 1.4 as a valid primary extension version
Date: Thu, 05 Aug 2010 09:08:44 +0300	[thread overview]
Message-ID: <1280988524.1175.24.camel@localhost.localdomain> (raw)
In-Reply-To: <20100804204916.27906.74766.stgit@dev.siriade.com>

On Wed, 2010-08-04 at 22:50 +0200, Guillaume LECERF wrote:
> As my first patch has been pushed, here is the change requested by Gernot Hoyler.
> 
> ---

Because of this my git-am removes the below comment part... and your
signed-off-by.

> The Spansion S29WS-P device family uses CFI version 1.4 [1].
> Consider it as a valide version.
> 
> [1] http://www.spansion.com/Support/Datasheets/s29ws-p_00_a12_e.pdf
> 
> Signed-off-by: Guillaume LECERF <glecerf@gmail.com>
> ---
>  drivers/mtd/chips/cfi_cmdset_0002.c |    7 ++++---
>  1 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
> index 749203f..16c4eee 100644
> --- a/drivers/mtd/chips/cfi_cmdset_0002.c
> +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
> @@ -418,12 +418,13 @@ struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary)
>  			cfi_fixup_major_minor(cfi, extp);
>  
>  			/*
> -			 * Valid primary extension versions are: 1.0, 1.1, 1.2, 1.3
> -			 * see: http://www.amd.com/us-en/assets/content_type/DownloadableAssets/cfi_r20.pdf, page 19 and on
> +			 * Valid primary extension versions are: 1.0, 1.1, 1.2, 1.3, 1.4
> +			 * see: http://www.amd.com/us-en/assets/content_type/DownloadableAssets/cfi_r20.pdf, page 19
>  			 *      http://www.amd.com/us-en/assets/content_type/DownloadableAssets/cfi_100_20011201.pdf
> +			 *      http://www.spansion.com/Support/Datasheets/s29ws-p_00_a12_e.pdf
>  			 */
>  			if (extp->MajorVersion != '1' ||
> -			    (extp->MajorVersion == '1' && ( extp->MinorVersion < '0' || extp->MinorVersion > '3'))) {
> +			    (extp->MajorVersion == '1' && ( extp->MinorVersion < '0' || extp->MinorVersion > '4'))) {
>  				printk(KERN_ERR "  Unknown Amd/Fujitsu Extended Query "
>  				       "version %c.%c (%#02x/%#02x).\n",
>  				       extp->MajorVersion, extp->MinorVersion,
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

  reply	other threads:[~2010-08-05  6:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04 20:50 [PATCH] mtd: cfi_cmdset_0002: consider version 1.4 as a valid primary extension version Guillaume LECERF
2010-08-05  6:08 ` Artem Bityutskiy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-08-05 11:18 Guillaume LECERF
2010-08-05 11:58 ` Guillaume LECERF

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1280988524.1175.24.camel@localhost.localdomain \
    --to=dedekind1@gmail.com \
    --cc=Gernot.Hoyler@spansion.com \
    --cc=dwmw2@infradead.org \
    --cc=glecerf@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox