Skip to content

Commit dd26402

Browse files
georgemoussalemmiquelraynal
authored andcommitted
mtd: spinand: esmt: fix id code for F50D1G41LB
Upon detecting the ID for the ESMT F50D1G41LB chip, the fifth byte returned is always 0x00 instead of the expected JEDEC continuation code of 0x7f. This causes detection to fail: [ 0.304399] spi-nand spi0.0: unknown raw ID c8117f7f00 [ 0.508943] spi-nand: probe of spi0.0 failed with error -524 So let's revert back to the 4 byte ID code for this chip specifically. Fixes: 4bd14b2 ("mtd: spinand: esmt: Extend IDs to 5 bytes") Signed-off-by: George Moussalem <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
1 parent 56fce75 commit dd26402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/nand/spi/esmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ static const struct spinand_info esmt_c8_spinand_table[] = {
199199
SPINAND_FACT_OTP_INFO(2, 0, &f50l1g41lb_fact_otp_ops)),
200200
SPINAND_INFO("F50D1G41LB",
201201
SPINAND_ID(SPINAND_READID_METHOD_OPCODE_ADDR, 0x11, 0x7f,
202-
0x7f, 0x7f),
202+
0x7f),
203203
NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
204204
NAND_ECCREQ(1, 512),
205205
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,

0 commit comments

Comments
 (0)