* [PATCH] Add NAND manufacturer AMD.
@ 2007-07-19 4:29 Steven J. Hill
2007-07-19 7:42 ` Bryan Wu
0 siblings, 1 reply; 2+ messages in thread
From: Steven J. Hill @ 2007-07-19 4:29 UTC (permalink / raw)
To: linux-mtd
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Add NAND manufacturer AMD.
2007-07-19 4:29 [PATCH] Add NAND manufacturer AMD Steven J. Hill
@ 2007-07-19 7:42 ` Bryan Wu
0 siblings, 0 replies; 2+ messages in thread
From: Bryan Wu @ 2007-07-19 7:42 UTC (permalink / raw)
To: Steven J. Hill; +Cc: linux-mtd
On Thu, 2007-07-19 at 12:29 +0800, Steven J. Hill wrote:
> This patch adds the manufacturer ID for AMD flash.
>
> Signed-off-by: Steven J. Hill <sjhill1@rockwellcollins.com>
>
>
Please don't submit patches in attachment file and follow the
Documentation/SubmittingPatches to do it.
- Bryan Wu
> plain text document attachment (ATT333278.txt), "ATT333278.txt"
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-19 7:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-19 4:29 [PATCH] Add NAND manufacturer AMD Steven J. Hill
2007-07-19 7:42 ` Bryan Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox