alistair23-linux/include/linux/mtd
Jungseung Lee 05635c14a2
mtd: spi-nor: Add SR 4bit block protection support
Currently we are supporting block protection only for flash chips with
3 block protection bits (BP0-2) in the SR register.

Enable block protection support for flashes with 4 block protection bits
(BP0-3).

Add a flash_info flag for flashes that describe 4 block protection bits.
Add another flash_info flag for flashes in which BP3 bit is not adjacent
to the BP0-2 bits.

Tested with a n25q512ax3 (BP0-3) and w25q128 (BP0-2).

Signed-off-by: Jungseung Lee <js07.lee@samsung.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Tested-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
2020-03-24 11:47:42 +02:00
..
bbm.h
blktrans.h
cfi.h
cfi_endian.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
hyperbus.h
inftl.h
jedec.h
latch-addr-flash.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h
mtd.h
mtdram.h
nand-gpio.h
nand.h
nand_bch.h
nand_ecc.h
ndfc.h
nftl.h
onenand.h
onenand_regs.h
onfi.h
partitions.h
pfow.h
physmap.h
pismo.h
plat-ram.h
platnand.h
qinfo.h
rawnand.h
sh_flctl.h
sharpsl.h
spear_smi.h
spi-nor.h mtd: spi-nor: Add SR 4bit block protection support 2020-03-24 11:47:42 +02:00
spinand.h
super.h
ubi.h
xip.h