mtd: nand: Add Winbond manufacturer id
authorAndrey Jr. Melnikov <temnota.am@gmail.com>
Thu, 8 Dec 2016 16:57:08 +0000 (19:57 +0300)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 6 Feb 2017 10:42:43 +0000 (11:42 +0100)
Add WINBOND manufacturer id.

Signed-off-by: Andrey Jr. Melnikov <temnota.am@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nand_ids.c
include/linux/mtd/nand.h

index b3a332f37e145044b7b47f999b20382648d16b3e..4a2f75b0c200a1135e64941bf24b753c356775a0 100644 (file)
@@ -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"}
 };
 
index f67915c7726ff8627101f587f88e460e556847f5..f6017a1a35d682737a07feef07beaf69cccabbd6 100644 (file)
@@ -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