aboutsummaryrefslogtreecommitdiff
path: root/miscutils/Config.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-02-18 13:23:46 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-02-18 13:23:46 +0000
commit0d22d1755c2c55ad45b01458bbf2f09aab4308d2 (patch)
treef5316fd29ce4e9848e9e588be46e5e2be333ec5b /miscutils/Config.in
parent051fdb9e7a248bf24bb845313e324421992abf61 (diff)
downloadbusybox-0d22d1755c2c55ad45b01458bbf2f09aab4308d2.tar.gz
- add flash_eraseall
This is the result after converting mtd-utils' flash_eraseall to BB. The functionality given by this patch almost the same except that this one does not support long options. I needed this tool a system which does not have a lot of flash for RFS and merging this into BB as the only way out. [bigeasy@]$ ./scripts/bloat-o-meter bb_wo_fl bb_w_fl function old new delta flash_eraseall_main - 1072 +1072 show_progress - 62 +62 packed_usage 25156 25176 +20 applet_names 1958 1973 +15 applet_main 2352 2360 +8 target_endian - 4 +4 applet_nameofs 588 590 +2 applet_install_loc 147 148 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/0 up/down: 1184/0) Total: 1184 bytes [bigeasy@]$ size miscutils/flash_eraseall.o text data bss dec hex filename 1586 4 0 1590 636 miscutils/flash_eraseall.o Signed-off-by: Benedigt Spranger <b.spranger@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'miscutils/Config.in')
-rw-r--r--miscutils/Config.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/miscutils/Config.in b/miscutils/Config.in
index c8d7253d8..62be3e63e 100644
--- a/miscutils/Config.in
+++ b/miscutils/Config.in
@@ -250,6 +250,13 @@ config FBSPLASH
"NN" (ASCII decimal number) - percentage to show on progress bar
"exit" - well you guessed it
+config FLASH_ERASEALL
+ bool "flash_eraseall"
+ default n
+ help
+ The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
+ This utility is used to erase the whole MTD device.
+
config IONICE
bool "ionice"
default n