Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -185,6 +185,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
	{NAND_MFR_SANDISK, "SanDisk"},
	{NAND_MFR_INTEL, "Intel"},
	{NAND_MFR_ATO, "ATO"},
	{NAND_MFR_WINBOND, "Winbond"},
	{0x0, "Unknown"}
};

+1 −0
Original line number Diff line number Diff line
@@ -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_INTEL		0x89
#define NAND_MFR_ATO		0x9b
#define NAND_MFR_WINBOND	0xef

/* The maximum expected count of bytes in the NAND ID sequence */
#define NAND_MAX_ID_LEN 8