Re: [RFC PATCH] nvmem: core: add sysfs cell write support

From: Michael Walle
Date: Tue Feb 20 2024 - 05:17:45 EST


On Tue Feb 20, 2024 at 10:50 AM CET, Marco Felsch wrote:
> > Read-copy-update would probably work but would as well be very
> > sub-optimal. I guess we could live with it, but as for now there has
> > not been any real request for it, I'd also advise to keep this feature
> > out of the mtd world in general.
>
> SPI-NORs are very typical for storing production-data as well but as I
> said this is another story. I'm fine with limiting it to EEPROMs since
> this is my use-case :)

Right, that is just what we are doing on our boards. But we do that
in one go in our production environment, like just writing to the
mtd partition or the OTP region. The nvmem cells are then just for
connecting the devices to this information (like the nvmem-cells
property of an ethernet device).

Also usually, there is more to it, like removing write protection of
said flash (sometimes in a proprietary way).

-michael

Attachment: signature.asc
Description: PGP signature