flash_lock, flash_unlock: new applets

By Thierry Reding (thierry.reding AT avionic-design.de)

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-05-25 04:15:37 +02:00
parent 4f26c97b9a
commit bf2af9acb2
10 changed files with 112 additions and 6 deletions

View File

@ -1248,6 +1248,17 @@
"$ find / -name passwd\n" \
"/etc/passwd\n"
#define flash_lock_trivial_usage \
"MTD_DEVICE OFFSET SECTORS"
#define flash_lock_full_usage "\n\n" \
"Lock part or all of an MTD device. If SECTORS is -1, then all sectors\n" \
"will be locked, regardless of the value of OFFSET"
#define flash_unlock_trivial_usage \
"MTD_DEVICE"
#define flash_unlock_full_usage "\n\n" \
"Unlock an MTD device"
#define flash_eraseall_trivial_usage \
"[-jq] MTD_DEVICE"
#define flash_eraseall_full_usage "\n\n" \