mtd: nand: add Macronix manufacturer
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon Jan 9 13:59:01 EST 2012
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=c1257b4798d48b73ad1a9ca359504cd49caefa0d
Commit: c1257b4798d48b73ad1a9ca359504cd49caefa0d
Parent: 5f0a6e2d503896062f641639dacfe5055c2f593b
Author: Brian Norris <computersforpeace at gmail.com>
AuthorDate: Wed Nov 2 13:34:42 2011 -0700
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Jan 9 17:59:33 2012 +0000
mtd: nand: add Macronix manufacturer
Macronix is produing SLC NAND MX30LF1208AA, so add their manufacturer
code to the manufacturer lists.
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
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 00cf1b0..56c688d 100644
--- a/drivers/mtd/nand/nand_ids.c
+++ b/drivers/mtd/nand/nand_ids.c
@@ -176,6 +176,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
{NAND_MFR_HYNIX, "Hynix"},
{NAND_MFR_MICRON, "Micron"},
{NAND_MFR_AMD, "AMD"},
+ {NAND_MFR_MACRONIX, "Macronix"},
{0x0, "Unknown"}
};
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 904131b..63b5a8b 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -555,6 +555,7 @@ struct nand_chip {
#define NAND_MFR_HYNIX 0xad
#define NAND_MFR_MICRON 0x2c
#define NAND_MFR_AMD 0x01
+#define NAND_MFR_MACRONIX 0xc2
/**
* struct nand_flash_dev - NAND Flash Device ID Structure
More information about the linux-mtd-cvs
mailing list