From: Karl Zhang <shuangshuo@gmail.com>
To: computersforpeace@gmail.com, linux-mtd@lists.infradead.org,
dwmw2@infradead.org, paul.gortmaker@windriver.com,
artem.bityutskiy@linux.intel.com, linux-kernel@vger.kernel.org
Cc: peterpandong@micron.com, beanhuo@micron.com,
Karl Zhang <karlzhang@micron.com>
Subject: [PATCH v2 1/2] mtd: spi-nor: add Manufacturer ID for Micron
Date: Mon, 14 Dec 2015 01:40:00 +0000 [thread overview]
Message-ID: <1450057201-28419-2-git-send-email-karlzhang@micron.com> (raw)
In-Reply-To: <1450057201-28419-1-git-send-email-karlzhang@micron.com>
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>
---
v2: no change
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
#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
next prev parent reply other threads:[~2015-12-14 1:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-14 1:39 [PATCH v2 0/2] mtd: spi-nor: add new device MT35X Karl Zhang
2015-12-14 1:40 ` Karl Zhang [this message]
2015-12-14 1:40 ` [PATCH v2 2/2] " Karl Zhang
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=1450057201-28419-2-git-send-email-karlzhang@micron.com \
--to=shuangshuo@gmail.com \
--cc=artem.bityutskiy@linux.intel.com \
--cc=beanhuo@micron.com \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=karlzhang@micron.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=paul.gortmaker@windriver.com \
--cc=peterpandong@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
all inboxes | Powered by JetHome®