aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2014-06-25 17:38:30 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2014-06-25 17:38:30 +0200
commit2a870d091e86687c8b7b9e14b9c75815d40d7053 (patch)
tree7301a80134472f22715004d01a95dfbadeac5e05 /miscutils
parent8feb25956f788026099c44103f1b5c440bfe3598 (diff)
downloadbusybox-2a870d091e86687c8b7b9e14b9c75815d40d7053.tar.gz
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 <richard.genoud@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/nandwrite.c2
1 files changed, 1 insertions, 1 deletions
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;