From 2a870d091e86687c8b7b9e14b9c75815d40d7053 Mon Sep 17 00:00:00 2001 From: Richard Genoud Date: Wed, 25 Jun 2014 17:38:30 +0200 Subject: nanddump: change default to --bb=skipbad since mtd-utils 1.4.7, the default behaviour of nanddump is skipbad (commit 2521d4f1b6b9866a9c89f3c11a4f6a3d763ff1d7) Signed-off-by: Richard Genoud Signed-off-by: Denys Vlasenko --- miscutils/nandwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miscutils/nandwrite.c') diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c index 509c06412..29ff351a3 100644 --- a/miscutils/nandwrite.c +++ b/miscutils/nandwrite.c @@ -107,7 +107,7 @@ int nandwrite_main(int argc UNUSED_PARAM, char **argv) /* Buffer for OOB data */ unsigned char *oobbuf; unsigned opts; - unsigned bb_method = BB_PADBAD; + unsigned bb_method = BB_SKIPBAD; int fd; ssize_t cnt; unsigned mtdoffset, meminfo_writesize, blockstart, limit; -- cgit v1.2.3