forked from Minki/linux
f5e2bae0aa
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> |
||
---|---|---|
.. | ||
Makefile | ||
mtd_nandecctest.c | ||
mtd_oobtest.c | ||
mtd_pagetest.c | ||
mtd_readtest.c | ||
mtd_speedtest.c | ||
mtd_stresstest.c | ||
mtd_subpagetest.c | ||
mtd_torturetest.c |