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.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/miscutils/flash_lock_unlock.c b/miscutils/flash_lock_unlock.c
index 1fefd95f9..2f698641f 100644
--- a/miscutils/flash_lock_unlock.c
+++ b/miscutils/flash_lock_unlock.c
@@ -3,6 +3,25 @@
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//config:config FLASH_LOCK
7//config: bool "flash_lock"
8//config: default n # doesn't build on Ubuntu 8.04
9//config: help
10//config: The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
11//config: utility locks part or all of the flash device.
12//config:
13//config:config FLASH_UNLOCK
14//config: bool "flash_unlock"
15//config: default n # doesn't build on Ubuntu 8.04
16//config: help
17//config: The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
18//config: utility unlocks part or all of the flash device.
19
20//applet:IF_FLASH_LOCK(APPLET_ODDNAME(flash_lock, flash_lock_unlock, BB_DIR_USR_SBIN, BB_SUID_DROP, flash_lock))
21//applet:IF_FLASH_UNLOCK(APPLET_ODDNAME(flash_unlock, flash_lock_unlock, BB_DIR_USR_SBIN, BB_SUID_DROP, flash_unlock))
22
23//kbuild:lib-$(CONFIG_FLASH_LOCK) += flash_lock_unlock.o
24//kbuild:lib-$(CONFIG_FLASH_UNLOCK) += flash_lock_unlock.o
6 25
7//usage:#define flash_lock_trivial_usage 26//usage:#define flash_lock_trivial_usage
8//usage: "MTD_DEVICE OFFSET SECTORS" 27//usage: "MTD_DEVICE OFFSET SECTORS"