[PATCH 1/1] mtd: nand: Add Dosilicon manufacturer id
Chukun Pan
amadeus at jmu.edu.cn
Sun Jan 7 04:30:20 PST 2024
Add Dosilicon manufacturer id.
Tested on Dosilicon FMND1G08S3D.
Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
---
drivers/mtd/nand/raw/internals.h | 1 +
drivers/mtd/nand/raw/nand_ids.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/mtd/nand/raw/internals.h b/drivers/mtd/nand/raw/internals.h
index b7162ced9efa..e94788597a72 100644
--- a/drivers/mtd/nand/raw/internals.h
+++ b/drivers/mtd/nand/raw/internals.h
@@ -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
diff --git a/drivers/mtd/nand/raw/nand_ids.c b/drivers/mtd/nand/raw/nand_ids.c
index 650351c62af6..54e07e148c6e 100644
--- a/drivers/mtd/nand/raw/nand_ids.c
+++ b/drivers/mtd/nand/raw/nand_ids.c
@@ -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"},
--
2.25.1
More information about the linux-mtd
mailing list