[U-Boot] [PATCH v4 0/4] add command env erase
Frank Wunderlich
frank-w at public-files.de
Sun Apr 28 08:51:24 UTC 2019
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
More information about the U-Boot
mailing list