alistair23-linux/drivers/mtd/tests
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
..
Makefile
mtd_nandecctest.c
mtd_oobtest.c mtd: introduce mtd_block_isbad interface 2012-01-09 18:25:47 +00:00
mtd_pagetest.c mtd: remove extra retlen assignment 2012-01-09 18:25:56 +00:00
mtd_readtest.c mtd: introduce mtd_can_have_bb helper 2012-01-09 18:26:24 +00:00
mtd_speedtest.c mtd: introduce mtd_can_have_bb helper 2012-01-09 18:26:24 +00:00
mtd_stresstest.c mtd: introduce mtd_can_have_bb helper 2012-01-09 18:26:24 +00:00
mtd_subpagetest.c mtd: remove extra retlen assignment 2012-01-09 18:25:56 +00:00
mtd_torturetest.c mtd: introduce mtd_can_have_bb helper 2012-01-09 18:26:24 +00:00