mtd: nand: add Intel manufacturer ID
authorHuang Shijie <b32955@freescale.com>
Fri, 3 Jan 2014 08:50:39 +0000 (16:50 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 20 Jan 2014 19:30:52 +0000 (11:30 -0800)
Add the Intel manufacturer Id.
Tested with Intel JS29F32G08ACMD1(4096 + 224) which is ONFI 2.0 compliant
nand.

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 136a463..daa2faa 100644 (file)
@@ -170,6 +170,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
        {NAND_MFR_MACRONIX, "Macronix"},
        {NAND_MFR_EON, "Eon"},
        {NAND_MFR_SANDISK, "SanDisk"},
+       {NAND_MFR_INTEL, "Intel"},
        {0x0, "Unknown"}
 };
 
index e03a78c..32f8612 100644 (file)
@@ -634,6 +634,7 @@ struct nand_chip {
 #define NAND_MFR_MACRONIX      0xc2
 #define NAND_MFR_EON           0x92
 #define NAND_MFR_SANDISK       0x45
+#define NAND_MFR_INTEL         0x89
 
 /* The maximum expected count of bytes in the NAND ID sequence */
 #define NAND_MAX_ID_LEN 8