From: "Steven J. Hill" <sjhill@realitydiluted.com>
To: linux-mtd@lists.infradead.org
Subject: [PATCH] Add NAND manufacturer AMD.
Date: Wed, 18 Jul 2007 23:29:46 -0500 [thread overview]
Message-ID: <469EE8BA.6020506@realitydiluted.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 115 bytes --]
This patch adds the manufacturer ID for AMD flash.
Signed-off-by: Steven J. Hill <sjhill1@rockwellcollins.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: nand-amd-manuf-id.patch --]
[-- Type: text/x-patch; name="nand-amd-manuf-id.patch", Size: 918 bytes --]
diff -ur linux-2.6.22/drivers/mtd/nand/nand_ids.c linux-2.6.22-patched/drivers/mtd/nand/nand_ids.c
--- linux-2.6.22/drivers/mtd/nand/nand_ids.c 2007-07-14 22:39:06.650123874 -0500
+++ linux-2.6.22-patched/drivers/mtd/nand/nand_ids.c 2007-07-14 22:38:13.869987000 -0500
@@ -141,6 +141,7 @@
{NAND_MFR_STMICRO, "ST Micro"},
{NAND_MFR_HYNIX, "Hynix"},
{NAND_MFR_MICRON, "Micron"},
+ {NAND_MFR_AMD, "AMD"},
{0x0, "Unknown"}
};
diff -ur linux-2.6.22/include/linux/mtd/nand.h linux-2.6.22-patched/include/linux/mtd/nand.h
--- linux-2.6.22/include/linux/mtd/nand.h 2007-07-14 22:39:16.514896979 -0500
+++ linux-2.6.22-patched/include/linux/mtd/nand.h 2007-07-14 22:37:54.168442000 -0500
@@ -432,6 +432,7 @@
#define NAND_MFR_STMICRO 0x20
#define NAND_MFR_HYNIX 0xad
#define NAND_MFR_MICRON 0x2c
+#define NAND_MFR_AMD 0x01
/**
* struct nand_flash_dev - NAND Flash Device ID Structure
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next reply other threads:[~2007-07-19 4:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 4:29 Steven J. Hill [this message]
2007-07-19 7:42 ` [PATCH] Add NAND manufacturer AMD Bryan Wu
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=469EE8BA.6020506@realitydiluted.com \
--to=sjhill@realitydiluted.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.