env: mmc: add erase-function
authorFrank Wunderlich <frank-w@public-files.de>
Sat, 29 Jun 2019 09:36:20 +0000 (11:36 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jul 2019 15:31:26 +0000 (11:31 -0400)
commit3485392506decf3896b7f742c1300cbdf8b31f83
tree5b5a8d5403cd4b18da66c27bdf6dfd286a4913cc
parentcd121bdb6df3fe8dfe45ff1e34f46f86b8f060c0
env: mmc: add erase-function

this adds erase environment for mmc storage

squashed fixes:
 - add CONFIG_CMD_ERASEENV
 - env: erase redundant offset if defined
 - changes mentioned by Simon
 - fix whitespaces around errmsg

Suggested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
env/mmc.c