Re: [RESEND PATCH v2 2/3] mtd: nand: implement 'max_bad_blocks' mtd function

2016-10-27 Thread Boris Brezillon
On Thu, 27 Oct 2016 14:14:01 -0500 Zach Brown wrote: > From: Jeff Westfahl > > Implement the new mtd function 'max_bad_blocks'. Use the ONFI parameter > page to find the maximum bad blocks to reserve for an MTD, taking into > account how many LUNs the MTD spans. > > Signed-off-by: Jeff Westfah

[RESEND PATCH v2 2/3] mtd: nand: implement 'max_bad_blocks' mtd function

2016-10-27 Thread Zach Brown
From: Jeff Westfahl Implement the new mtd function 'max_bad_blocks'. Use the ONFI parameter page to find the maximum bad blocks to reserve for an MTD, taking into account how many LUNs the MTD spans. Signed-off-by: Jeff Westfahl Signed-off-by: Zach Brown --- drivers/mtd/nand/nand_base.c | 34