aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMorten Thunberg Svendsen <mts.doredevelopment@gmail.com>2010-01-06 10:48:18 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-01-13 09:06:17 +0000
commitf5e2bae0aad03164ffc7ce9dfeee6608e2c87dba (patch)
tree6993fa233c58a12ffe4f8136a28309c2d9cc762e /kernel
parentmtd: Really add ARM pismo support (diff)
downloadlinux-dev-f5e2bae0aad03164ffc7ce9dfeee6608e2c87dba.tar.xz
linux-dev-f5e2bae0aad03164ffc7ce9dfeee6608e2c87dba.zip
mtd: tests: fix read, speed and stress tests on NOR flash
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions