
no opinion about the last version?
regards Frank
Am 28. April 2019 10:51:24 MESZ schrieb Frank Wunderlich frank-w@public-files.de:
sometimes it is needed to erase the non-volatile environment e.g. for boot-up with builtin-environment or after resizing env
this series add basic functionality for erasing environment from storage as a first storage-driver mmc is introduced, other needs to be added later
changes since v3:
- fixes
- Kconfig-option as suggested by Simon Goldschmidt
- including CONFIG_ENV_OFFSET_REDUND (4/4 is RFC)
Frank Wunderlich (4): env: register erase command env: mmc: add erase-function env: add option to use redundant offset [RFC] env: call env_erase twice if CONFIG_ENV_OFFSET_REDUND is set
cmd/Kconfig | 8 ++++++++ cmd/nvedit.c | 26 ++++++++++++++++++++++++++ env/env.c | 30 ++++++++++++++++++++++++++++++ env/mmc.c | 36 ++++++++++++++++++++++++++++++++++++ include/environment.h | 17 +++++++++++++++++ 5 files changed, 117 insertions(+)
-- 2.17.1