mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
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 |