[PATCH 2/6] mtd: spi-nor: add erase die (chip) capability

Fabio Estevam festevam at denx.de
Wed Nov 1 05:55:04 PDT 2023


Hi Tudor,

On 01/11/2023 06:48, Tudor Ambarus wrote:

> oops, here I wanted to check for null, when null, set the default.
> Takahiro and Fabio, would you please update when/if testing?
> 
> 	if (!nor->params->chip_erase_opcode)

I applied this change on top of your series.

flash_erase command completes very fast:

~# flash_erase /dev/mtd0 0 0
Erasing 131072 Kibyte @ 0 -- 100 % complete

After that, I run 'hexdump -C /dev/mtd0', but I see that the original 
content is still there.

Thanks





More information about the linux-mtd mailing list