Re: [PATCH v2] mtd: spi-nor: micron-st: Enable die erase support for MT35XU02GCBA
From: Pratyush Yadav
Date: Tue Mar 31 2026 - 03:30:09 EST
Hi Haoyu,
On Tue, Mar 31 2026, Haoyu Lu wrote:
> The MT35XU02GCBA flash device does not support chip erase according
> to its datasheet, but supports die erase. The existing code had a TODO
> comment noting that the SPI_NOR_IO_MODE_EN_VOLATILE flag probably needs
> to be enabled and the driver implementation needs to be converted to
> use die erase.
>
> This patch enables the SPI_NOR_IO_MODE_EN_VOLATILE flag and adds the
> mt35_two_die_fixups to the MT35XU02GCBA entry, which includes the
> micron_st_nor_two_die_late_init() function that sets up die erase
> support.
>
> With these changes, the flash device can properly use die erase
> operations instead of chip erase.
>
> Signed-off-by: Haoyu Lu <hechushiguitu666@xxxxxxxxx>
I tried applying this patch and it fails to apply. It seems you have
sent the v2 on top of your v1 patch. You should do the v2 as a fresh
patch on top of spi-nor/next with all the changes, and not a incremental
version on top of v1.
Please squash your two patches and resend.
[...]
--
Regards,
Pratyush Yadav