Browse Source

[PATCH][NAND] Define the Vendor Id for Micron NAND Flash

Signed-off-by: Ulf Samuelsson <ulf@atmel.com>
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Stefan Roese <sr@denx.de>
Ulf Samuelsson 18 years ago
parent
commit
7ebb4479b0
2 changed files with 2 additions and 0 deletions
  1. 1 0
      drivers/nand/nand_ids.c
  2. 1 0
      include/linux/mtd/nand.h

+ 1 - 0
drivers/nand/nand_ids.c

@@ -123,6 +123,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
 	{NAND_MFR_NATIONAL, "National"},
 	{NAND_MFR_NATIONAL, "National"},
 	{NAND_MFR_RENESAS, "Renesas"},
 	{NAND_MFR_RENESAS, "Renesas"},
 	{NAND_MFR_STMICRO, "ST Micro"},
 	{NAND_MFR_STMICRO, "ST Micro"},
+	{NAND_MFR_MICRON, "Micron"},
 	{0x0, "Unknown"}
 	{0x0, "Unknown"}
 };
 };
 #endif
 #endif

+ 1 - 0
include/linux/mtd/nand.h

@@ -348,6 +348,7 @@ struct nand_chip {
 #define NAND_MFR_NATIONAL	0x8f
 #define NAND_MFR_NATIONAL	0x8f
 #define NAND_MFR_RENESAS	0x07
 #define NAND_MFR_RENESAS	0x07
 #define NAND_MFR_STMICRO	0x20
 #define NAND_MFR_STMICRO	0x20
+#define NAND_MFR_MICRON		0x2c
 
 
 /**
 /**
  * struct nand_flash_dev - NAND Flash Device ID Structure
  * struct nand_flash_dev - NAND Flash Device ID Structure