projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
746b0f2
)
mtd: spinand: esmt: add support for F50D2G41KA
author
Sridharan S N
<quic_sridsn@quicinc.com>
Fri, 23 Jun 2023 04:57:56 +0000
(10:27 +0530)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Wed, 12 Jul 2023 11:34:54 +0000
(13:34 +0200)
This adds support for ESMT F50D2G41KA. This is 2Gb SLC NAND flash
with 8b/512b on-die ECC capability.
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
Signed-off-by: Md Sadre Alam <quic_mdalam@quicinc.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link:
https://lore.kernel.org/linux-mtd/20230623045757.30055-3-quic_sridsn@quicinc.com
drivers/mtd/nand/spi/esmt.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/spi/esmt.c
b/drivers/mtd/nand/spi/esmt.c
index 1a3ffb982335809a451db1df84e260d7a5181e02..31c439a557b1840067a8eca69244362bf926b05f 100644
(file)
--- a/
drivers/mtd/nand/spi/esmt.c
+++ b/
drivers/mtd/nand/spi/esmt.c
@@
-121,6
+121,15
@@
static const struct spinand_info esmt_c8_spinand_table[] = {
&update_cache_variants),
0,
SPINAND_ECCINFO(&f50l1g41lb_ooblayout, NULL)),
+ SPINAND_INFO("F50D2G41KA",
+ SPINAND_ID(SPINAND_READID_METHOD_OPCODE_ADDR, 0x51),
+ NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 1, 1, 1),
+ NAND_ECCREQ(8, 512),
+ SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
+ &write_cache_variants,
+ &update_cache_variants),
+ 0,
+ SPINAND_ECCINFO(&f50l1g41lb_ooblayout, NULL)),
};
static const struct spinand_manufacturer_ops esmt_spinand_manuf_ops = {