mtd: nand: Add Winbond manufacturer id
Add WINBOND manufacturer id. Signed-off-by: Andrey Jr. Melnikov <temnota.am@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
This commit is contained in:
parent
cad3274121
commit
a4077ce587
|
@ -185,6 +185,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
|
||||||
{NAND_MFR_SANDISK, "SanDisk"},
|
{NAND_MFR_SANDISK, "SanDisk"},
|
||||||
{NAND_MFR_INTEL, "Intel"},
|
{NAND_MFR_INTEL, "Intel"},
|
||||||
{NAND_MFR_ATO, "ATO"},
|
{NAND_MFR_ATO, "ATO"},
|
||||||
|
{NAND_MFR_WINBOND, "Winbond"},
|
||||||
{0x0, "Unknown"}
|
{0x0, "Unknown"}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -959,6 +959,7 @@ static inline void nand_set_controller_data(struct nand_chip *chip, void *priv)
|
||||||
#define NAND_MFR_SANDISK 0x45
|
#define NAND_MFR_SANDISK 0x45
|
||||||
#define NAND_MFR_INTEL 0x89
|
#define NAND_MFR_INTEL 0x89
|
||||||
#define NAND_MFR_ATO 0x9b
|
#define NAND_MFR_ATO 0x9b
|
||||||
|
#define NAND_MFR_WINBOND 0xef
|
||||||
|
|
||||||
/* The maximum expected count of bytes in the NAND ID sequence */
|
/* The maximum expected count of bytes in the NAND ID sequence */
|
||||||
#define NAND_MAX_ID_LEN 8
|
#define NAND_MAX_ID_LEN 8
|
||||||
|
|
Loading…
Reference in New Issue