Re: [RESEND PATCH v5 4/5] mtd: nand: implement 'max_bad_blocks' mtd function

2016-11-22 Thread Brian Norris
On Mon, Nov 21, 2016 at 01:51:38PM -0600, Zach Brown wrote: > Implement the new mtd function 'max_bad_blocks'. Using the chip's > max_bb_per_die and blocks_per_die fields to determine the maximum bad > blocks to reserve for an MTD. > > Signed-off-by: Jeff Westfahl > Signed-off-by: Zach Brown > A

[RESEND PATCH v5 4/5] mtd: nand: implement 'max_bad_blocks' mtd function

2016-11-21 Thread Zach Brown
Implement the new mtd function 'max_bad_blocks'. Using the chip's max_bb_per_die and blocks_per_die fields to determine the maximum bad blocks to reserve for an MTD. Signed-off-by: Jeff Westfahl Signed-off-by: Zach Brown Acked-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 35 +