diff options
Diffstat (limited to 'miscutils/flash_lock_unlock.c')
-rw-r--r-- | miscutils/flash_lock_unlock.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/miscutils/flash_lock_unlock.c b/miscutils/flash_lock_unlock.c index 287abaafd..2f698641f 100644 --- a/miscutils/flash_lock_unlock.c +++ b/miscutils/flash_lock_unlock.c | |||
@@ -17,6 +17,12 @@ | |||
17 | //config: The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This | 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. | 18 | //config: utility unlocks part or all of the flash device. |
19 | 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 | ||
25 | |||
20 | //usage:#define flash_lock_trivial_usage | 26 | //usage:#define flash_lock_trivial_usage |
21 | //usage: "MTD_DEVICE OFFSET SECTORS" | 27 | //usage: "MTD_DEVICE OFFSET SECTORS" |
22 | //usage:#define flash_lock_full_usage "\n\n" | 28 | //usage:#define flash_lock_full_usage "\n\n" |