Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Norris <computersforpeace@gmail.com>
To: Karl Zhang <shuangshuo@gmail.com>
Cc: dwmw2@infradead.org, linux-mtd@lists.infradead.org,
	peterpandong@micron.com, beanhuo@micron.com,
	zszubbocsev@micron.com, Karl Zhang <karlzhang@micron.com>
Subject: Re: [PATCH 1/2] mtd: spi-nor: add Manufacturer ID for Micron
Date: Wed, 9 Dec 2015 18:45:24 -0800	[thread overview]
Message-ID: <20151210024524.GA29459@google.com> (raw)
In-Reply-To: <1449712740-22900-2-git-send-email-karlzhang@micron.com>

On Thu, Dec 10, 2015 at 01:58:59AM +0000, Karl Zhang wrote:
> Micron Manufacturer ID assigned by JEDEC is 2Ch.
> Add this ID, for new Spi NOR from Micron.
> 
> ST's ID(20h) is Micron due to the history.
> 
> Signed-off-by: Karl Zhang <karlzhang@micron.com>
> ---
>  include/linux/mtd/cfi.h     | 1 +
>  include/linux/mtd/spi-nor.h | 2 ++
>  2 files changed, 3 insertions(+)
> 
> diff --git a/include/linux/mtd/cfi.h b/include/linux/mtd/cfi.h
> index 9b57a9b..cbf7716 100644
> --- a/include/linux/mtd/cfi.h
> +++ b/include/linux/mtd/cfi.h
> @@ -377,6 +377,7 @@ struct cfi_fixup {
>  #define CFI_MFR_SHARP		0x00B0
>  #define CFI_MFR_SST		0x00BF
>  #define CFI_MFR_ST		0x0020 /* STMicroelectronics */
> +#define CFI_MFR_MICRON		0x002C /* Micron */
>  #define CFI_MFR_TOSHIBA		0x0098
>  #define CFI_MFR_WINBOND		0x00DA
>  
> diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h
> index fac3f6f..b858e93 100644
> --- a/include/linux/mtd/spi-nor.h
> +++ b/include/linux/mtd/spi-nor.h
> @@ -22,6 +22,8 @@
>   */
>  #define SNOR_MFR_ATMEL		CFI_MFR_ATMEL
>  #define SNOR_MFR_INTEL		CFI_MFR_INTEL
> +/* Micron Manufacturer ID assigned by JEDEC */
> +#define SNOR_MFR_MICRON_JEDEC	CFI_MFR_MICRON

Is this the ID Micron is going to use going forward?

Brian

>  #define SNOR_MFR_MICRON		CFI_MFR_ST /* ST Micro <--> Micron */
>  #define SNOR_MFR_MACRONIX	CFI_MFR_MACRONIX
>  #define SNOR_MFR_SPANSION	CFI_MFR_AMD
> -- 
> 1.9.1
> 

  reply	other threads:[~2015-12-10  2:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-10  1:58 [PATCH 0/2] mtd: spi-nor: add new device MT35X Karl Zhang
2015-12-10  1:58 ` [PATCH 1/2] mtd: spi-nor: add Manufacturer ID for Micron Karl Zhang
2015-12-10  2:45   ` Brian Norris [this message]
2015-12-10  3:00     ` Karl Zhang 张双锣 (karlzhang)
2015-12-10  1:59 ` [PATCH 2/2] mtd: spi-nor: add new device MT35X Karl Zhang
2015-12-10  2:47   ` Brian Norris
2015-12-10  2:49     ` Bean Huo 霍斌斌 (beanhuo)
2015-12-10  2:58       ` Karl Zhang 张双锣 (karlzhang)
2015-12-10  2:46 ` [PATCH 0/2] " Brian Norris
2015-12-10  3:04   ` Karl Zhang 张双锣 (karlzhang)

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=20151210024524.GA29459@google.com \
    --to=computersforpeace@gmail.com \
    --cc=beanhuo@micron.com \
    --cc=dwmw2@infradead.org \
    --cc=karlzhang@micron.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=peterpandong@micron.com \
    --cc=shuangshuo@gmail.com \
    --cc=zszubbocsev@micron.com \
    /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