]> www.infradead.org Git - mtd-utils.git/commit
mtd-utils: unify flash_erase and flash_eraseall
authorMike Frysinger <vapier@gentoo.org>
Mon, 27 Sep 2010 06:50:58 +0000 (02:50 -0400)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 27 Sep 2010 06:54:17 +0000 (09:54 +0300)
commita8801d8665bcc94c63a798e291a03c88f2af0215
treedbb8e24cb34701252d36d70d1b033298f35d38a3
parent2c413f5232e02d8dd413a93f7f4f5cb8d2420ec6
mtd-utils: unify flash_erase and flash_eraseall

These have overlapping functionality, and while flash_eraseall supports
newer 64bit ioctls, flash_erase does not.  So rather than graft support
onto flash_erase, merge the functionality of two into flash_erase so we
only have to support one util from now on.

A simple wrapper is provided to ease old flash_eraseall users into the
new combined flash_erase util.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
.gitignore
Makefile
flash_erase.c
flash_eraseall [new file with mode: 0755]
flash_eraseall.c [deleted file]