Skip to contentSkip to conversation

Add Winbond manufacturer id

PATCH Applied Andrey Jr. Melnikov 2 participants 3 messages Dec 8, 2016 – Feb 6, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add Winbond manufacturer id

Add WINBOND manufacturer id.

---

drivers/mtd/nand/nand_ids.c +1 -0
index 2af9869..6508682 100644
@@ -182,6 +182,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"}
 };
 
include/linux/mtd/nand.h +1 -0
index 8dd6e01..035f207 100644
@@ -797,6 +797,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
#1 lore raw

Hi Andrey,

Next time, can you please add the "mtd: nand: " prefix when you touch something in the NAND framework.

No need to resend this patch, I'll fix it when applying.

Thanks,

Boris

Quoted 33 lines · On Thu, 8 Dec 2016 19:57:08 +0300 "Andrey Jr. Melnikov" <[email protected]>…

Add WINBOND manufacturer id.

---

drivers/mtd/nand/nand_ids.c +1 -0
index 2af9869..6508682 100644
@@ -182,6 +182,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"}
 };
 
include/linux/mtd/nand.h +1 -0
index 8dd6e01..035f207 100644
@@ -797,6 +797,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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#2 lore raw
In reply to Andrey Jr. Melnikov
Quoted 3 lines · On Thu, 8 Dec 2016 19:57:08 +0300 "Andrey Jr. Melnikov" <[email protected]>…

Add WINBOND manufacturer id.

Applied.

Thanks,

Boris

Quoted 30 lines

---

drivers/mtd/nand/nand_ids.c +1 -0
index 2af9869..6508682 100644
@@ -182,6 +182,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"}
 };
 
include/linux/mtd/nand.h +1 -0
index 8dd6e01..035f207 100644
@@ -797,6 +797,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

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/