mtd: nand: add SanDisk manufacturer ID
authorHuang Shijie <b32955@freescale.com>
Thu, 26 Dec 2013 07:37:45 +0000 (15:37 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 20 Jan 2014 19:23:28 +0000 (11:23 -0800)
Add the manufactor ID for SanDisk.
Make preparation for SanDisk SDTNRGAMA-008G.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_ids.c
include/linux/mtd/nand.h

index a87b0a3..136a463 100644 (file)
@@ -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"}
 };
 
index 352e238..e03a78c 100644 (file)
@@ -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