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@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
Brian Norris 2011-11-02 13:34:42 -07:00 committed by David Woodhouse
parent 5f0a6e2d50
commit c1257b4798
2 changed files with 2 additions and 0 deletions

View File

@ -176,6 +176,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
{NAND_MFR_HYNIX, "Hynix"}, {NAND_MFR_HYNIX, "Hynix"},
{NAND_MFR_MICRON, "Micron"}, {NAND_MFR_MICRON, "Micron"},
{NAND_MFR_AMD, "AMD"}, {NAND_MFR_AMD, "AMD"},
{NAND_MFR_MACRONIX, "Macronix"},
{0x0, "Unknown"} {0x0, "Unknown"}
}; };

View File

@ -555,6 +555,7 @@ struct nand_chip {
#define NAND_MFR_HYNIX 0xad #define NAND_MFR_HYNIX 0xad
#define NAND_MFR_MICRON 0x2c #define NAND_MFR_MICRON 0x2c
#define NAND_MFR_AMD 0x01 #define NAND_MFR_AMD 0x01
#define NAND_MFR_MACRONIX 0xc2
/** /**
* struct nand_flash_dev - NAND Flash Device ID Structure * struct nand_flash_dev - NAND Flash Device ID Structure