aboutsummaryrefslogtreecommitdiff
path: root/tests/ubi-tests
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-06-22 09:49:17 -0700
committerArtem Bityutskiy <dedekind1@gmail.com>2011-06-23 17:57:55 +0300
commitc2c3cb928935c6c4f0ac3fa9390d41c3ee6abc51 (patch)
tree81365b10dd250ead22653362e47d54af2fea4ced /tests/ubi-tests
parent266061ebd5d72391f0a0e831b018e8fc7fea68a1 (diff)
nanddump: add --bb=METHOD option
We have too many separate bad block handling methods: --omitbad --noskipbad --skipbad On top of these, we have the default option: that bad blocks are replaced with 0xFF. These options will be unified under --bb=METHOD. The end goal will be something like: ---------------------------------------------------------------------------------------------- Old option New option Comment ---------------------------------------------------------------------------------------------- <default> --bb=padbad dump flash data, substituting 0xFF for any bad blocks --noskipbad --bb=dumpbad dump flash data, including any bad blocks --skipbad --bb=skipbad dump good data, completely skipping any bad blocks (new default) --omitbad N/A very similar to `skipbad' (DEPRECTATED) The BB options are all mutually exclusive, so we check that we do not have more than one BB option explicitly enabled on the command line by tracking whether or not a BB method has been set by the user. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
Diffstat (limited to 'tests/ubi-tests')
0 files changed, 0 insertions, 0 deletions