diff options
author | Zach Brown <zach.brown@ni.com> | 2017-01-10 13:30:20 -0600 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2017-02-08 14:19:43 -0800 |
commit | 5671842fced7aee1550194f743947953a2f8a27c (patch) | |
tree | 4cce0d1e4d5648b2363ab9c96c6c26bf7f1d1377 /drivers/regulator/max8998.c | |
parent | ceb374eb06848212e47fb884964a3ae5e79615b5 (diff) |
mtd: nand: implement 'max_bad_blocks' mtd function
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 <jeff.westfahl@ni.com>
Signed-off-by: Zach Brown <zach.brown@ni.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electron.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/regulator/max8998.c')
0 files changed, 0 insertions, 0 deletions