[PATCH v4] mtd: spi-nor: Add support for sst26vf032b flash
Tudor Ambarus
tudor.ambarus at linaro.org
Fri Aug 18 03:06:56 PDT 2023
On 08.08.2023 18:30, Miquel Raynal wrote:
> Hi Michael,
>
> michael at walle.cc wrote on Tue, 08 Aug 2023 10:35:08 +0200:
>
>> Hi,
>>
>>>> Mhh, this flash has vendor tables. The sst26vf global unlock should
>>>> be discoverable. There is a table with all supported opcodes, which
>>>> could be used to see whether this flash needs the global unlock.
>>>
>>> Is this logic already existing in the core?
>>
>> No unfortunately not.
>>
>>> Do you have a pointer?
>>
>> It seems that we'd need to have some kind of parser support for
>> vendor specific SFPD tables. Then look for the sst25vf family
>> and the availability of the global unlock command, if both is
>> satisfied, set the locking ops.
>
> Do you mind if we actually take that one which, on this regard should
> be absolutely identical to the existing 64b entry?
>
> If one ever brings the logic you described I'll be pleased to test it
> as long as I have the board.
>
I'm fine with it. For the moment these entries are not supper annoying
to maintain, but would be great if we use as much of the vendor tables
in the future if possible.
More information about the linux-mtd
mailing list