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>
This commit is contained in:
parent
8feb25956f
commit
2a870d091e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user