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:24:48 +00:00
2012-01-09 18:26:23 +00:00
2012-01-09 18:25:48 +00:00
2012-01-09 18:25:58 +00:00
2012-01-09 18:26:24 +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:25:19 +00:00
2011-11-07 09:11:16 -08:00
2012-01-09 18:26:21 +00:00
2012-01-09 18:25:24 +00:00
2012-01-09 18:25:48 +00:00
2012-01-09 18:15:31 +00:00
2012-01-09 18:15:31 +00:00
2012-01-09 18:04:01 +00:00
2012-01-09 18:25:20 +00:00
2012-01-09 18:26:21 +00:00
2012-01-09 18:26:24 +00:00
2012-01-09 18:26:24 +00:00
2012-01-09 18:26:23 +00:00
2011-09-11 15:02:13 +03:00
2012-01-09 18:26:24 +00:00
2012-01-09 18:25:48 +00:00
2011-11-07 09:11:16 -08:00
2012-01-09 18:26:24 +00:00
2012-01-09 18:26:24 +00:00
2012-01-09 18:25:48 +00:00
2011-09-11 15:02:14 +03:00
2012-01-09 18:26:24 +00:00
2012-01-09 18:26:21 +00:00
2012-01-09 18:26:08 +00:00
2010-10-25 01:33:08 +01:00
2012-01-09 18:25:47 +00:00