mtd: nand: Add Winbond manufacturer id

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Feb 12 18:59:05 PST 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=a4077ce5871304f8a78f80b74b18b6052a410f1a
Commit:     a4077ce5871304f8a78f80b74b18b6052a410f1a
Parent:     cad32741218299eee3f75de21ac9ccab8485bd62
Author:     Andrey Jr. Melnikov <temnota.am at gmail.com>
AuthorDate: Thu Dec 8 19:57:08 2016 +0300
Committer:  Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Mon Feb 6 11:42:43 2017 +0100

    mtd: nand: Add Winbond manufacturer id
    
    Add WINBOND manufacturer id.
    
    Signed-off-by: Andrey Jr. Melnikov <temnota.am at gmail.com>
    Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
 drivers/mtd/nand/nand_ids.c | 1 +
 include/linux/mtd/nand.h    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
index b3a332f..4a2f75b 100644
--- a/drivers/mtd/nand/nand_ids.c
+++ b/drivers/mtd/nand/nand_ids.c
@@ -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"}
 };
 
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index f67915c..f6017a1 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -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



More information about the linux-mtd-cvs mailing list