summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorArseniy Krasnov <[email protected]>2024-03-27 01:39:19 +0300
committerDario Binacchi <[email protected]>2024-04-14 08:49:40 +0200
commit248fc16055858c2028a381bb59e12354c4ae19ea (patch)
tree87eaffae6289e1ad234702b8ed8fda2d04e5e539 /include/linux/linux_string.h
parentcd6d71a2e98d3ba51ea1e63a2fb2927738ab1c99 (diff)
cmd: mtd: OTP access support
Add access to OTP region. It supports info, dump, write and lock operations. Usage example: 'mtd otpread nand0 u 0 1024' - dump 1024 bytes of user area starting from offset 0 of device 'nand0'. 'mtd otpwrite nand0 10 11223344' - write binary data 0x11, 0x22, 0x33, 0x44 to offset 10 to user area of device 'nand0'. 'mtd otplock nand0 0 1024' - lock 1024 bytes of user area starting from offset 0 of device 'nand0'. 'mtd otpinfo nand0 f' - show info about factory area of device 'nand0'. Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Arseniy Krasnov <[email protected]> Signed-off-by: Dario Binacchi <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions