[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240107123020.22053-1-amadeus@jmu.edu.cn>
Date: Sun, 7 Jan 2024 20:30:20 +0800
From: Chukun Pan <amadeus@....edu.cn>
To: Miquel Raynal <miquel.raynal@...tlin.com>
Cc: Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Chukun Pan <amadeus@....edu.cn>
Subject: [PATCH 1/1] mtd: nand: Add Dosilicon manufacturer id
Add Dosilicon manufacturer id.
Tested on Dosilicon FMND1G08S3D.
Signed-off-by: Chukun Pan <amadeus@....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
Powered by blists - more mailing lists