Home
last modified time | relevance | path

Searched hist:"4 b361cfa" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/mtd/
H A Dmtd.h4b361cfa Sat Apr 24 06:06:08 CDT 2021 Michael Walle <michael@walle.cc> mtd: core: add OTP nvmem provider support

Flash OTP regions can already be read via user space. Some boards have
their serial number or MAC addresses stored in the OTP regions. Add
support for them being a (read-only) nvmem provider.

The API to read the OTP data is already in place. It distinguishes
between factory and user OTP, thus there are up to two different
providers.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210424110608.15748-6-michael@walle.cc
/openbmc/linux/drivers/mtd/
H A Dmtdcore.c4b361cfa Sat Apr 24 06:06:08 CDT 2021 Michael Walle <michael@walle.cc> mtd: core: add OTP nvmem provider support

Flash OTP regions can already be read via user space. Some boards have
their serial number or MAC addresses stored in the OTP regions. Add
support for them being a (read-only) nvmem provider.

The API to read the OTP data is already in place. It distinguishes
between factory and user OTP, thus there are up to two different
providers.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210424110608.15748-6-michael@walle.cc