Skip to content

mtd: spi-nor: macronix: mx25l51245g, mx66l51235l and mx66l51235f

Tudor Ambarus linux-mtd lkml stable 1 version Applied

Status from this message: Applied to spi-nor/next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"drivers/mtd/spi-nor/macronix.c+0 -31 reply
2/2mtd: spi-nor: macronix: Fix name for mx66l51235fdrivers/mtd/spi-nor/macronix.c+1 -12 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPratyush YadavVignesh Raghavendra
1/2A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] mtd: spi-nor: macronix: mx25l51245g, mx66l51235l and mx66l51235f

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(-)
Signature · 1 line
2.25.1