]> www.infradead.org Git - mtd-utils.git/commit
flashcp: Add option -A/--erase-all
authorAndrij Abyzov <drolevar@gmail.com>
Mon, 21 Oct 2019 10:10:37 +0000 (12:10 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 28 Oct 2019 06:52:35 +0000 (07:52 +0100)
commit413b3c919c2c96d6e0224f86eb6d3d7ce3b79238
tree951593fb6e8c8802947982aef12355465366b26f
parente0fecfef3463f9585fef878aba60b0b92b9ffc08
flashcp: Add option -A/--erase-all

Sometimes there's a need to erase the whole device when
programming an image, and not just the area under the
image itself.

Therefore, option -A/--erase-all has been added which
erases the whole device before writing the image.

Signed-off-by: Andrij Abyzov <drolevar@gmail.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
misc-utils/flashcp.c