summaryrefslogtreecommitdiffstats
path: root/drivers/dax
diff options
context:
space:
mode:
authorBoris Brezillon <bbrezillon@kernel.org>2018-11-04 14:43:37 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-04-08 10:21:08 +0200
commit377e517b5fa53590418a7b4c2206082d92434fa3 (patch)
tree04b56af9accf4b06573fa8e3f6267cf3283768e9 /drivers/dax
parentd090c25028e9df186bb0d31379f7d5605c57fa79 (diff)
downloadlinux-377e517b5fa53590418a7b4c2206082d92434fa3.tar.bz2
mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg
NAND datasheets usually give the maximum number of bad blocks per LUN and this number can be used to help upper layers decide how much blocks they should reserve for bad block handling. Add a max_bad_eraseblocks_per_lun to the nand_memory_organization struct and update the NAND_MEMORG() macro (and its users) accordingly. We also provide a default mtd->_max_bad_blocks() implementation. Signed-off-by: Boris Brezillon <bbrezillon@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Diffstat (limited to 'drivers/dax')
0 files changed, 0 insertions, 0 deletions