[git commit] nanddump: change default to --bb=skipbad

Denys Vlasenko vda.linux at googlemail.com
Wed Jun 25 15:38:30 UTC 2014


commit: http://git.busybox.net/busybox/commit/?id=2a870d091e86687c8b7b9e14b9c75815d40d7053
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

since mtd-utils 1.4.7, the default behaviour of nanddump is skipbad
(commit 2521d4f1b6b9866a9c89f3c11a4f6a3d763ff1d7)

Signed-off-by: Richard Genoud <richard.genoud at gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 miscutils/nandwrite.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/miscutils/nandwrite.c b/miscutils/nandwrite.c
index 509c064..29ff351 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;


More information about the busybox-cvs mailing list