OpenCloudOS-Kernel/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: add nand_ecc test module 2009-11-30 09:41:49 +00:00
mtd_nandecctest.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
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