Skip to content

Commit 2f6d2c8

Browse files
hzyitcmiquelraynal
authored andcommitted
Revert "mtd: spinand: esmt: fix id code for F50D1G41LB"
This reverts commit dd26402. The issue George met is due to the limit of QPIC, not the issue of the flash chip. QPIC only supports 4 bytes ID. So the fifth byte is always 0. If we use spi-gpio, the fifth byte can be read correctly. Signed-off-by: Ziyang Huang <hzyitc@outlook.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent 8f0b4cc commit 2f6d2c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mtd/nand/spi/esmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ static const struct spinand_info esmt_c8_spinand_table[] = {
215215
SPINAND_FACT_OTP_INFO(2, 0, &f50l1g41lb_fact_otp_ops)),
216216
SPINAND_INFO("F50D1G41LB",
217217
SPINAND_ID(SPINAND_READID_METHOD_OPCODE_ADDR, 0x11, 0x7f,
218-
0x7f),
218+
0x7f, 0x7f),
219219
NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
220220
NAND_ECCREQ(1, 512),
221221
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,

0 commit comments

Comments
 (0)