diff options
author | Martin Kurbanov <mmkurbanov@salutedevices.com> | 2025-02-10 17:34:14 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2025-02-10 15:52:59 +0100 |
commit | c06b1f753bea40a282f29a9383fcf36b12323108 (patch) | |
tree | ea16a488f3039f7256e909397b85cdbd4fcef2be /net/lapb/lapb_timer.c | |
parent | 07d0aa9393abc8fd64d0a174edfb68c5808187e4 (diff) |
mtd: spinand: add OTP support
The MTD subsystem already supports accessing two OTP areas: user and
factory. User areas can be written by the user.
This patch provides the SPINAND_FACT_OTP_INFO and SPINAND_USER_OTP_INFO
macros to add parameters to spinand_info.
To implement OTP operations, the client (flash driver) is provided with
callbacks for user area:
.read(), .write(), .info(), .lock(), .erase();
and for factory area:
.read(), .info();
Signed-off-by: Martin Kurbanov <mmkurbanov@salutedevices.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions