From bf2af9acb28ed6d8bbe351d669daaa140d0239f0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 25 May 2009 04:15:37 +0200 Subject: flash_lock, flash_unlock: new applets By Thierry Reding (thierry.reding AT avionic-design.de) Signed-off-by: Thierry Reding Signed-off-by: Denys Vlasenko --- include/usage.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/usage.h') diff --git a/include/usage.h b/include/usage.h index 1e327fb97..e6069259b 100644 --- a/include/usage.h +++ b/include/usage.h @@ -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" \ -- cgit v1.2.3