diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-09-19 13:40:49 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-10-03 11:12:25 +0200 |
commit | a68642adbb1a80d1a70a472d01a8a32aaa1a96c4 (patch) | |
tree | 325210737a00faefab24074c9999470fde035a75 /drivers/mtd/nand/raw/nand_ids.c | |
parent | 727d37826bd19905424d6f5cf8351fcb4be71206 (diff) | |
download | lwn-a68642adbb1a80d1a70a472d01a8a32aaa1a96c4.tar.gz lwn-a68642adbb1a80d1a70a472d01a8a32aaa1a96c4.zip |
mtd: rawnand: ESMT: retrieve ECC requirements from 5th id byte
This patch enables support to read the ECC level from the NAND flash
using ESMT SLC NAND ID byte 5 information as documented e.g. in the
following data sheet:
https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/F59L1G81LA(2Y).pdf
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/nand_ids.c')
-rw-r--r-- | drivers/mtd/nand/raw/nand_ids.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/nand_ids.c b/drivers/mtd/nand/raw/nand_ids.c index fd0a7f711100..ea5a342cd91e 100644 --- a/drivers/mtd/nand/raw/nand_ids.c +++ b/drivers/mtd/nand/raw/nand_ids.c @@ -174,7 +174,7 @@ static const struct nand_manufacturer nand_manufacturers[] = { {NAND_MFR_AMD, "AMD/Spansion", &amd_nand_manuf_ops}, {NAND_MFR_ATO, "ATO"}, {NAND_MFR_EON, "Eon"}, - {NAND_MFR_ESMT, "ESMT"}, + {NAND_MFR_ESMT, "ESMT", &esmt_nand_manuf_ops}, {NAND_MFR_FUJITSU, "Fujitsu"}, {NAND_MFR_HYNIX, "Hynix", &hynix_nand_manuf_ops}, {NAND_MFR_INTEL, "Intel"}, |