[PATCH] mtd: spi-nor: Enable locking for n25q00a
Tudor Ambarus
tudor.ambarus at linaro.org
Mon Oct 13 00:30:24 PDT 2025
Sean,
On 10/10/25 4:45 PM, Sean Anderson wrote:
>> ... or, you know, read the data sheet, write the driver, and _test_ if
>> it actually works?
>
> Which I did.
cut
> - Locking is not in your suggested test procedure for new flashes
> (although it probably should be if you're so gung ho about mistrusting
> datasheets).
cut
> There is no evidence that the status register has three bits (except
> when the flash has 64 eraseblocks or fewer), and there overwhelming
> evidence to the contrary.
Nobody challenged that your flash has 4 BP bits. I/we just want the proof
that you did the tests, i.e. show the output of the mtd-utils locking tests.
I also need you to dump the sysfs/debugs entries.
It's true that the locking tests are not yet described in
https://docs.kernel.org/driver-api/mtd/spi-nor.html, that's why I encouraged
you to show us how you did the testing and maybe to contribute and extend
the documentation.
Cheers,
ta
More information about the linux-mtd
mailing list