[PATCH v2] mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()

Tudor Ambarus tudor.ambarus at microchip.com
Mon Nov 21 05:41:47 PST 2022


On Fri, 19 Nov 2021 09:14:12 +0100, Alexander A Sverdlin wrote:
> From: Alexander Sverdlin <alexander.sverdlin at nokia.com>
> 
> Erase can be zeroed in spi_nor_parse_4bait() or
> spi_nor_init_non_uniform_erase_map(). In practice it happened with
> mt25qu256a, which supports 4K, 32K, 64K erases with 3b address commands,
> but only 4K and 64K erase with 4b address commands.
> 
> [...]

Applied to spi-nor/next, thanks!

[1/1] mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()
      https://git.kernel.org/mtd/c/2ebc336be081

Best regards,
-- 
Tudor Ambarus <tudor.ambarus at microchip.com>



More information about the linux-mtd mailing list