busybox/include
Bernhard Reutner-Fischer 0d22d1755c - 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>
2009-02-18 13:23:46 +00:00
..
applets.h - add flash_eraseall 2009-02-18 13:23:46 +00:00
busybox.h Use intra-DSO calls when we build libbusybox. No-op for normal build. 2008-05-09 17:59:34 +00:00
dump.h libbb: get rid of statics in dump.c; code shrinks a lot too 2008-07-16 11:00:16 +00:00
grp_.h - commentary typo fix 2008-09-26 11:23:22 +00:00
inet_common.h *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on 2008-06-27 02:52:20 +00:00
libbb.h killall and sestatus also need ARGVN scanning 2009-02-14 01:36:11 +00:00
platform.h optimize 16- and 32-bit moves 2008-12-08 22:56:18 +00:00
pwd_.h - commentary typo fix 2008-09-26 11:23:22 +00:00
rtc_.h libpwdgrp: make it coexist with <pwd.h>, <grp.h> and <shadow.h>. 2008-09-26 10:35:55 +00:00
shadow_.h - commentary typo fix 2008-09-26 11:23:22 +00:00
unarchive.h gunzip: restore mtime. approx +80 bytes of code 2008-11-01 12:54:56 +00:00
usage.h - add flash_eraseall 2009-02-18 13:23:46 +00:00
volume_id.h blkid: new applet. We almost had everything needed for it already 2008-10-12 11:20:08 +00:00
xatonum.h s/othervise/otherwise/g 2008-07-23 08:41:08 +00:00
xregex.h *: introduce and use FAST_FUNC: regparm on i386, otherwise no-on 2008-06-27 02:52:20 +00:00