mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
mtd: rawnand: Reflect that ESMT and GigaDevice share ID 0xc8
JEDEC manufacturer ID 0xc8 is used by both ESMT and GigaDevice, so nand_esmt.c handles chips from both vendors. Chips from either vendor are currently reported as "ESMT", which is misleading when debugging a GigaDevice part. Rename the manufacturer entry to "ESMT/GigaDevice" and document the collision next to the NAND_MFR_ESMT definition. The only behavioural change is the manufacturer name printed at detection time. Signed-off-by: Peter-Simon Dieterich <peter-simon.dieterich@vaillant-group.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:
parent
e97c701c09
commit
c62b598ac7
|
|
@ -19,6 +19,7 @@
|
|||
#define NAND_MFR_AMD 0x01
|
||||
#define NAND_MFR_ATO 0x9b
|
||||
#define NAND_MFR_EON 0x92
|
||||
/* ESMT and GigaDevice share the same manufacturer ID. */
|
||||
#define NAND_MFR_ESMT 0xc8
|
||||
#define NAND_MFR_FUJITSU 0x04
|
||||
#define NAND_MFR_HYNIX 0xad
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ static const struct nand_manufacturer_desc nand_manufacturer_descs[] = {
|
|||
{NAND_MFR_AMD, "AMD/Spansion", &amd_nand_manuf_ops},
|
||||
{NAND_MFR_ATO, "ATO"},
|
||||
{NAND_MFR_EON, "Eon"},
|
||||
{NAND_MFR_ESMT, "ESMT", &esmt_nand_manuf_ops},
|
||||
{NAND_MFR_ESMT, "ESMT/GigaDevice", &esmt_nand_manuf_ops},
|
||||
{NAND_MFR_FUJITSU, "Fujitsu"},
|
||||
{NAND_MFR_HYNIX, "Hynix", &hynix_nand_manuf_ops},
|
||||
{NAND_MFR_INTEL, "Intel"},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user