linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mtd: spi-nor: macronix: mx25l51245g, mx66l51235l and mx66l51235f
@ 2021-04-02  8:20 Tudor Ambarus
  2021-04-02  8:20 ` [PATCH 1/2] Revert "mtd: spi-nor: macronix: Add support for mx25l51245g" Tudor Ambarus
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tudor Ambarus @ 2021-04-02  8:20 UTC (permalink / raw)
  To: michael, p.yadav, vigneshr, masonccyang, zhengxunli, ycllin, juliensu
  Cc: miquel.raynal, richard, linux-mtd, linux-kernel, Tudor Ambarus

mx25l51245g and mx66l51235l have the same flash ID. The flash
detection returns the first entry in the flash_info array that
matches the flash ID that was read, thus for the 0xc2201a ID,
mx25l51245g was always hit, introducing a regression for
mx66l51235l. Revert mx25l51245g addition. A solution for these
flashes to coexist was proposed.

According to macronix website, there is no mx66l51235l part number.
Rename the part to mx66l51235f.

The difference betwenn mx25l51245g and mx66l51235f flash_info entries
was that mx25l51245g also set SECT_4K. Both flashes support 4K erases,
but the 4K erase should be discovered when parsing BFPT, so there's
no need to set the explicit SECT_4K flag.

Tudor Ambarus (2):
  Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"
  mtd: spi-nor: macronix: Fix name for mx66l51235f

 drivers/mtd/spi-nor/macronix.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

-- 
2.25.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-06-11 12:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02  8:20 [PATCH 0/2] mtd: spi-nor: macronix: mx25l51245g, mx66l51235l and mx66l51235f Tudor Ambarus
2021-04-02  8:20 ` [PATCH 1/2] Revert "mtd: spi-nor: macronix: Add support for mx25l51245g" Tudor Ambarus
2021-04-05  8:32   ` Pratyush Yadav
2021-04-02  8:20 ` [PATCH 2/2] mtd: spi-nor: macronix: Fix name for mx66l51235f Tudor Ambarus
2021-05-27  8:55   ` Vignesh Raghavendra
2021-06-11 12:03   ` Vignesh Raghavendra
2021-04-11  7:45 ` (subset)[PATCH 0/2] mtd: spi-nor: macronix: mx25l51245g, mx66l51235l and mx66l51235f Tudor Ambarus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).