mtd: nand: add SanDisk manufacturer ID

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jan 28 00:59:07 EST 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=3f97c6ff6de8a657e4d4d826e502698004cfc2ae
Commit:     3f97c6ff6de8a657e4d4d826e502698004cfc2ae
Parent:     94d04e824fc879f66d1a8f7c9689b85159e3f24e
Author:     Huang Shijie <b32955 at freescale.com>
AuthorDate: Thu Dec 26 15:37:45 2013 +0800
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Jan 20 11:23:28 2014 -0800

    mtd: nand: add SanDisk manufacturer ID
    
    Add the manufactor ID for SanDisk.
    Make preparation for SanDisk SDTNRGAMA-008G.
    
    Signed-off-by: Huang Shijie <b32955 at freescale.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/nand/nand_ids.c | 1 +
 include/linux/mtd/nand.h    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
index a87b0a3..136a463 100644
--- a/drivers/mtd/nand/nand_ids.c
+++ b/drivers/mtd/nand/nand_ids.c
@@ -169,6 +169,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
 	{NAND_MFR_AMD, "AMD/Spansion"},
 	{NAND_MFR_MACRONIX, "Macronix"},
 	{NAND_MFR_EON, "Eon"},
+	{NAND_MFR_SANDISK, "SanDisk"},
 	{0x0, "Unknown"}
 };
 
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 352e238..e03a78c 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -633,6 +633,7 @@ struct nand_chip {
 #define NAND_MFR_AMD		0x01
 #define NAND_MFR_MACRONIX	0xc2
 #define NAND_MFR_EON		0x92
+#define NAND_MFR_SANDISK	0x45
 
 /* The maximum expected count of bytes in the NAND ID sequence */
 #define NAND_MAX_ID_LEN 8



More information about the linux-mtd-cvs mailing list