public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Peter Grayson <pgrayson@realmsys.com>
To: linux-mtd@lists.infradead.org
Subject: [PATCH] Micron NAND Mfg ID
Date: Fri, 30 Sep 2005 16:20:24 -0600	[thread overview]
Message-ID: <1128118824.6926.96.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

This is a patch to add the Micron nand flash manufacturer id (0x2c) to
mtd. This datasheet corroborates the id:

http://download.micron.com/pdf/datasheets/flash/nand/2gb_nand_m29b.pdf

Pete



[-- Attachment #2: mtd-micronid.patch --]
[-- Type: text/x-patch, Size: 1054 bytes --]

[MTD] Adds Micron NAND id
[From: Peter Grayson <pgrayson@realmsys.com>]
diff -uNr mtd/drivers/mtd/nand/nand_ids.c mtd-micronid/drivers/mtd/nand/nand_ids.c
--- mtd/drivers/mtd/nand/nand_ids.c	2005-08-30 15:47:52.000000000 -0600
+++ mtd-micronid/drivers/mtd/nand/nand_ids.c	2005-09-30 16:14:18.105466416 -0600
@@ -125,7 +125,8 @@
 	{NAND_MFR_NATIONAL, "National"},
 	{NAND_MFR_RENESAS, "Renesas"},
 	{NAND_MFR_STMICRO, "ST Micro"},
-        {NAND_MFR_HYNIX, "Hynix"},
+	{NAND_MFR_HYNIX, "Hynix"},
+	{NAND_MFR_MICRON, "Micron"},
 	{0x0, "Unknown"}
 };
 
diff -uNr mtd/include/linux/mtd/nand.h mtd-micronid/include/linux/mtd/nand.h
--- mtd/include/linux/mtd/nand.h	2005-09-16 15:30:34.000000000 -0600
+++ mtd-micronid/include/linux/mtd/nand.h	2005-09-30 16:14:55.583768848 -0600
@@ -388,7 +388,8 @@
 #define NAND_MFR_NATIONAL	0x8f
 #define NAND_MFR_RENESAS	0x07
 #define NAND_MFR_STMICRO	0x20
-#define NAND_MFR_HYNIX          0xad
+#define NAND_MFR_HYNIX		0xad
+#define NAND_MFR_MICRON		0x2c
 
 /**
  * struct nand_flash_dev - NAND Flash Device ID Structure

                 reply	other threads:[~2005-09-30 22:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1128118824.6926.96.camel@localhost.localdomain \
    --to=pgrayson@realmsys.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