aboutsummaryrefslogtreecommitdiff
path: root/miscutils/flash_lock_unlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/flash_lock_unlock.c')
-rw-r--r--miscutils/flash_lock_unlock.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/miscutils/flash_lock_unlock.c b/miscutils/flash_lock_unlock.c
index fcb836b07..1fefd95f9 100644
--- a/miscutils/flash_lock_unlock.c
+++ b/miscutils/flash_lock_unlock.c
@@ -3,6 +3,18 @@
3 * 3 *
4 * Licensed under GPLv2, see file LICENSE in this source tree. 4 * Licensed under GPLv2, see file LICENSE in this source tree.
5 */ 5 */
6
7//usage:#define flash_lock_trivial_usage
8//usage: "MTD_DEVICE OFFSET SECTORS"
9//usage:#define flash_lock_full_usage "\n\n"
10//usage: "Lock part or all of an MTD device. If SECTORS is -1, then all sectors\n"
11//usage: "will be locked, regardless of the value of OFFSET"
12//usage:
13//usage:#define flash_unlock_trivial_usage
14//usage: "MTD_DEVICE"
15//usage:#define flash_unlock_full_usage "\n\n"
16//usage: "Unlock an MTD device"
17
6#include "libbb.h" 18#include "libbb.h"
7#include <mtd/mtd-user.h> 19#include <mtd/mtd-user.h>
8 20