summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/tests/mtd_stresstest.c
AgeCommit message (Collapse)Author
2010-01-13mtd: tests: fix read, speed and stress tests on NOR flashMorten Thunberg Svendsen
Before using block_isbad() check if mtd->block_isbad() is defined. Calculating pgcnt must be done using pgsize defined to 512 on NOR and mtd->writesize for NAND, not using mtd->writesize directly. Signed-off-by: Morten Thunberg Svendsen <mts.doredevelopment@gmail.com> Acked-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-12-08MTD: tests: add mtd_stresstestArtem Bityutskiy
This test just performs random operations on random eraseblocks. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>