twx-linux/include/linux/mtd
Boris Brezillon cdc784c743 mtd: rawnand: Deprecate ->block_{bad,markbad}() hooks
Those hooks have been overloaded by some drivers for bad reasons:
either the driver was not fitting in the NAND framework and should
have been an MTD driver (docg4), or it was not properly implementing
the OOB read/write request or had a weird layout where BBM are trashed.
In any case, we should discourage people from overloading those
methods and encourage them to fix their driver instead.

Move the ->block_{bad,markbad}() hooks to the nand_legacy struct to
make it clear.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2018-10-03 11:12:25 +02:00
..
bbm.h
blktrans.h
cfi_endian.h
cfi.h
concat.h
doc2000.h
flashchip.h mtd: cfi: cmdset_0001: Do not allow read/write to suspend erase block. 2018-04-24 17:41:18 +02:00
ftl.h
gen_probe.h
inftl.h
latch-addr-flash.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h mtd: Fix comparison in map_word_andequal() 2018-05-14 14:46:20 +02:00
mtd.h mtd: adapt misleading comment in mtd_oob_ops structure 2018-07-19 23:12:09 +02:00
mtdram.h
nand_bch.h mtd: rawnand: Pass a nand_chip object to ecc->correct() 2018-10-03 11:12:25 +02:00
nand_ecc.h mtd: rawnand: Pass a nand_chip object to ecc->correct() 2018-10-03 11:12:25 +02:00
nand-gpio.h
nand.h mtd: nand: Pass mode information to nand_page_io_req 2018-06-01 14:53:50 +02:00
ndfc.h
nftl.h
onenand_regs.h
onenand.h
partitions.h
pfow.h
physmap.h
pismo.h
plat-ram.h
qinfo.h
rawnand.h mtd: rawnand: Deprecate ->block_{bad,markbad}() hooks 2018-10-03 11:12:25 +02:00
sh_flctl.h
sharpsl.h
spear_smi.h
spi-nor.h mtd: spi-nor: only apply reset hacks to broken hardware 2018-08-01 09:27:38 +02:00
spinand.h mtd: spinand: Add initial support for the MX35LF1GE4AB chip 2018-07-18 09:24:12 +02:00
super.h
ubi.h
xip.h