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

Tudor Ambarus tudor.ambarus at linaro.org
Wed Nov 1 07:09:04 PDT 2023



On 11/1/23 12:55, Fabio Estevam wrote:
> 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.

Yes, I had a wrong configuration for the die erase command. Will send a v2.

Thanks!



More information about the linux-mtd mailing list