[PATCH v3 2/5] mtd: spi-nor: core: Hook manufacture by checking first byte ID
Michael Walle
mwalle at kernel.org
Mon Sep 4 07:54:40 PDT 2023
Hi,
>> Most of information could get by parsing SFDP.
>> We hope that highest protocol(8D-8D-8D) could used without adding IDs.
>> Because of octal_dtr function is still reply on mafacturer hook
>> function.
>> So that vendor discovery could make up deficiency.
>
> For this part, have any ideas?
> We hope that we could do something for reducing reliability of ID
> table.
> It will be good if new flashes could get all features without comparing
> flash id
> on ID tables.
Ahh, that was the use case for that. I suggest you look into the SCCR
SFDP
tables. You should get everything from the 23rd DWORD. At least the
Application
note you've sent me, shows these values are populated and by a brief
look
it seems to match your hand written code in patch 1. Which means you
don't
need any code in macronix.c. Instead you should extend the SCCR parser.
-michael
More information about the linux-mtd
mailing list