Commit a4077ce5 authored by Andrey Jr. Melnikov's avatar Andrey Jr. Melnikov Committed by Boris Brezillon

mtd: nand: Add Winbond manufacturer id

Add WINBOND manufacturer id.
Signed-off-by: default avatarAndrey Jr. Melnikov <temnota.am@gmail.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent cad32741
...@@ -185,6 +185,7 @@ struct nand_manufacturers nand_manuf_ids[] = { ...@@ -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) ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment