OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From a4077ce5871304f8a78f80b74b18b6052a410f1a Mon Sep 17 00:00:00 2001 |
2 | From: "Andrey Jr. Melnikov" <temnota.am@gmail.com> |
||
3 | Date: Thu, 8 Dec 2016 19:57:08 +0300 |
||
4 | Subject: [PATCH] mtd: nand: Add Winbond manufacturer id |
||
5 | |||
6 | Add WINBOND manufacturer id. |
||
7 | |||
8 | Signed-off-by: Andrey Jr. Melnikov <temnota.am@gmail.com> |
||
9 | Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> |
||
10 | --- |
||
11 | drivers/mtd/nand/nand_ids.c | 1 + |
||
12 | include/linux/mtd/nand.h | 1 + |
||
13 | 2 files changed, 2 insertions(+) |
||
14 | |||
15 | --- a/drivers/mtd/nand/nand_ids.c |
||
16 | +++ b/drivers/mtd/nand/nand_ids.c |
||
17 | @@ -182,6 +182,7 @@ struct nand_manufacturers nand_manuf_ids |
||
18 | {NAND_MFR_SANDISK, "SanDisk"}, |
||
19 | {NAND_MFR_INTEL, "Intel"}, |
||
20 | {NAND_MFR_ATO, "ATO"}, |
||
21 | + {NAND_MFR_WINBOND, "Winbond"}, |
||
22 | {0x0, "Unknown"} |
||
23 | }; |
||
24 | |||
25 | --- a/include/linux/mtd/nand.h |
||
26 | +++ b/include/linux/mtd/nand.h |
||
27 | @@ -928,6 +928,7 @@ static inline void nand_set_controller_d |
||
28 | #define NAND_MFR_SANDISK 0x45 |
||
29 | #define NAND_MFR_INTEL 0x89 |
||
30 | #define NAND_MFR_ATO 0x9b |
||
31 | +#define NAND_MFR_WINBOND 0xef |
||
32 | |||
33 | /* The maximum expected count of bytes in the NAND ID sequence */ |
||
34 | #define NAND_MAX_ID_LEN 8 |