[1/1] mtd: nand: Add Dosilicon manufacturer id
Commit Message
Add Dosilicon manufacturer id.
Tested on Dosilicon FMND1G08S3D.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
drivers/mtd/nand/raw/internals.h | 1 +
drivers/mtd/nand/raw/nand_ids.c | 1 +
2 files changed, 2 insertions(+)
@@ -18,6 +18,7 @@
*/
#define NAND_MFR_AMD 0x01
#define NAND_MFR_ATO 0x9b
+#define NAND_MFR_DOSILICON 0xf8
#define NAND_MFR_EON 0x92
#define NAND_MFR_ESMT 0xc8
#define NAND_MFR_FUJITSU 0x04
@@ -181,6 +181,7 @@ struct nand_flash_dev nand_flash_ids[] = {
static const struct nand_manufacturer_desc nand_manufacturer_descs[] = {
{NAND_MFR_AMD, "AMD/Spansion", &amd_nand_manuf_ops},
{NAND_MFR_ATO, "ATO"},
+ {NAND_MFR_DOSILICON, "Dosilicon"},
{NAND_MFR_EON, "Eon"},
{NAND_MFR_ESMT, "ESMT", &esmt_nand_manuf_ops},
{NAND_MFR_FUJITSU, "Fujitsu"},