[U-Boot] [PATCH v5 0/2] add command env erase
Frank Wunderlich
frank-w at public-files.de
Wed Jun 26 10:29:00 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 v4:
- rebased to 2019.07-rc4
- changed handling with CONFIG_ENV_OFFSET_REDUND (more similar to saveenv)
- quashed last 2 commits to get 2-parts patchset
Frank Wunderlich (2):
env: register erase command
env: mmc: add erase-function
cmd/Kconfig | 8 +++++++
cmd/nvedit.c | 20 +++++++++++++++++
env/env.c | 30 +++++++++++++++++++++++++
env/mmc.c | 52 +++++++++++++++++++++++++++++++++++++++++++
include/environment.h | 17 ++++++++++++++
5 files changed, 127 insertions(+)
--
2.17.1
More information about the U-Boot
mailing list