Artem Bityutskiy 8f461a7302 mtd: introduce mtd_can_have_bb helper
This patch introduces new 'mtd_can_have_bb()' helper function which checks
whether the flash can have bad eraseblocks. Then it changes all the
direct 'mtd->block_isbad' use cases with 'mtd_can_have_bb()'.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-01-09 18:26:24 +00:00
..
2012-01-09 18:25:20 +00:00
2012-01-09 18:26:19 +00:00
2012-01-09 18:26:24 +00:00
2012-01-09 18:25:19 +00:00
2012-01-09 18:25:19 +00:00
2012-01-09 18:26:21 +00:00
2012-01-09 18:26:21 +00:00
2011-09-11 15:02:13 +03:00
2011-09-11 15:02:14 +03:00
2012-01-09 18:26:21 +00:00
2012-01-09 18:26:08 +00:00