linux-stable/include/linux/mtd
Michael Walle e3c1f1c92d mtd: add OTP (one-time-programmable) erase ioctl
This may sound like a contradiction but some SPI-NOR flashes really
support erasing their OTP region until it is finally locked. Having the
possibility to erase an OTP region might come in handy during
development.

The ioctl argument follows the OTPLOCK style.

Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210303201819.2752-1-michael@walle.cc
2021-03-28 19:24:54 +02:00
..
bbm.h mtd: rawnand: Stop using nand_release() 2020-05-31 10:53:40 +02:00
blktrans.h mtd: Add helper macro for register_mtd_blktrans boilerplate 2021-03-11 09:37:48 +01:00
cfi.h
cfi_endian.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
hyperbus.h mtd: hyperbus: add Renesas RPC-IF driver 2020-10-06 12:36:21 +05:30
inftl.h
jedec.h
latch-addr-flash.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h
mtd.h mtd: add OTP (one-time-programmable) erase ioctl 2021-03-28 19:24:54 +02:00
mtdram.h
nand-ecc-sw-bch.h mtd: nand: ecc-bch: Create the software BCH engine 2020-12-10 22:37:26 +01:00
nand-ecc-sw-hamming.h mtd: nand: ecc-hamming: Create the software Hamming engine 2020-12-10 22:37:30 +01:00
nand-gpio.h
nand.h mtd: nand: Add helpers to manage ECC engines and configurations 2020-12-10 22:37:30 +01:00
ndfc.h
nftl.h
onenand.h
onenand_regs.h
onfi.h
partitions.h
pfow.h mtd: lpddr: Move function print_drs_error to lpddr_cmds.c 2020-08-27 14:14:46 +02:00
physmap.h
pismo.h
plat-ram.h
platnand.h
qinfo.h
rawnand.h mtd: rawnand: fix a kernel-doc markup 2020-12-10 22:37:31 +01:00
sh_flctl.h
sharpsl.h mtd: nand: ecc-hamming: Remove useless includes 2020-12-10 22:37:30 +01:00
spear_smi.h
spi-nor.h mtd: spi-nor: Add Global Block Unlock command 2021-02-05 15:24:59 +02:00
spinand.h mtd: spinand: Instantiate a SPI-NAND on-die ECC engine 2020-12-10 22:37:30 +01:00
super.h
ubi.h
xip.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00