summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/common.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-06 00:09:11 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-06-06 15:26:15 +0300
commit6534b670520f7709b2ba73a853a50372653c4726 (patch)
tree3b23d97d4ddbdf0ebad737b6845e8d082cd0eb70 /tests/ubi-tests/common.c
parent3e4c601e5c00f3bb5844402954d9b9dcf9387da2 (diff)
flash_{lock,unlock}: merge functionality
The flash_lock util has a bit of extra argument checking, and it supports a magic value of "-1" to mean "all blocks". The flash_unlock util supports automatic 2nd/3rd arguments to unlock the whole flash. It also supports multiple bases (not just hex) for selecting the range of the device to unlock. So tweak both utilities so that they have equivalent functionality again by adding the missing features to each. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/common.c')
0 files changed, 0 insertions, 0 deletions