summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/tests/mtd_speedtest.c
Commit message (Collapse)AuthorAgeFilesLines
* mtd: tests: fix read, speed and stress tests on NOR flashMorten Thunberg Svendsen2010-01-131-1/+6
| | | | | | | | | | 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>
* MTD: tests: add mtd_speedtestArtem Bityutskiy2008-12-081-0/+502
This test examines I/O speed of the flash device. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>