Messages in this thread |  | | Subject | Re: [PATCH v2 2/2] nvmem: add ONIE NVMEM cells support | From | Srinivas Kandagatla <> | Date | Mon, 15 Jun 2020 12:06:11 +0100 |
| |
On 05/06/2020 11:53, Vadym Kochan wrote: >> One of the example is atmel eeprom (at24), but there might be different >> devices. >> >> But can you please explain what is the technical/conceptual issue with >> this approach ? >> >> Thanks, > I just I'd like to clarify if there is a way it can be acceptable. The > problem is that there is TLV format which might be used on any nvmem > device which contains for example mac address which needs to be exposed > as nvmem cell. If to populate cells via nvmem_config then anyway I need > to parse these cells from the "target" nvmem device.
As a first step this need to be part of the provider logic to parse this before nvmem provider is registered. If there are more users for such parsing, we can think of adding some level of parsing to nvmem core itself.
Hope this answers your query.
Thanks, srini
|  |