mirror of https://gitee.com/openkylin/linux.git
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:
parent
5f0a6e2d50
commit
c1257b4798
|
@ -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"}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue