[MTD] [NAND] Add NAND manufacturer AMD.

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Jul 23 07:59:01 EDT 2007


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=30eb0db07d67b9211da7f506220184df827e425d
Commit:     30eb0db07d67b9211da7f506220184df827e425d
Parent:     39fe5434cb9de5da40510028b17b96bc4eb312b3
Author:     Steven J. Hill <sjhill at realitydiluted.com>
AuthorDate: Wed Jul 18 23:29:46 2007 -0500
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Mon Jul 23 11:51:53 2007 +0100

    [MTD] [NAND] Add NAND manufacturer AMD.
    
    This patch adds the manufacturer ID for AMD flash.
    
    Signed-off-by: Steven J. Hill <sjhill1 at rockwellcollins.com>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/nand/nand_ids.c |    1 +
 include/linux/mtd/nand.h    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
index 2fc674a..a3e3ab0 100644
--- a/drivers/mtd/nand/nand_ids.c
+++ b/drivers/mtd/nand/nand_ids.c
@@ -141,6 +141,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
 	{NAND_MFR_STMICRO, "ST Micro"},
 	{NAND_MFR_HYNIX, "Hynix"},
 	{NAND_MFR_MICRON, "Micron"},
+	{NAND_MFR_AMD, "AMD"},
 	{0x0, "Unknown"}
 };
 
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index d2365c8..c42bc7f 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -432,6 +432,7 @@ struct nand_chip {
 #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



More information about the linux-mtd-cvs mailing list