Skip to content

Commit

Permalink
mtd: spi-nor: sfdp: Add a warning for mx25l25635f chips
Browse files Browse the repository at this point in the history
Signed-off-by: Cédric Le Goater <clg@kaod.org>
  • Loading branch information
legoater committed Jun 28, 2022
1 parent 03c765b commit 934f070
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/mtd/spi-nor/macronix.c
Expand Up @@ -22,8 +22,10 @@ mx25l25635_post_bfpt_fixups(struct spi_nor *nor,
* seems that the F version advertises support for Fast Read 4-4-4 in
* its BFPT table.
*/
if (bfpt->dwords[BFPT_DWORD(5)] & BFPT_DWORD5_FAST_READ_4_4_4)
if (bfpt->dwords[BFPT_DWORD(5)] & BFPT_DWORD5_FAST_READ_4_4_4) {
dev_dbg(nor->dev, "MX25L25635F with 4B opcodes support\n");
nor->flags |= SNOR_F_4B_OPCODES;
}

return 0;
}
Expand Down

0 comments on commit 934f070

Please sign in to comment.