summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Jr. Melnikov <temnota.am@gmail.com>2016-12-08 19:57:08 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-02-06 11:42:43 +0100
commita4077ce5871304f8a78f80b74b18b6052a410f1a (patch)
tree8f5c3e9ebda1ac323d388868143c4b2ac791f606
parentcad32741218299eee3f75de21ac9ccab8485bd62 (diff)
downloadop-kernel-dev-a4077ce5871304f8a78f80b74b18b6052a410f1a.zip
op-kernel-dev-a4077ce5871304f8a78f80b74b18b6052a410f1a.tar.gz
mtd: nand: Add Winbond manufacturer id
Add WINBOND manufacturer id. Signed-off-by: Andrey Jr. Melnikov <temnota.am@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
-rw-r--r--drivers/mtd/nand/nand_ids.c1
-rw-r--r--include/linux/mtd/nand.h1
2 files changed, 2 insertions, 0 deletions
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
OpenPOWER on IntegriCloud