mbox series

[U-Boot,v3,0/2] add env erase

Message ID 20190412093705.10087-1-frank-w@public-files.de
Headers show
Series add env erase | expand

Message

Frank Wunderlich April 12, 2019, 9:37 a.m. UTC
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 v2:
  - move mmc-part to second patch (without function prototype)

Frank Wunderlich (2):
  env: register erase command
  env: mmc: add erase-function

 cmd/nvedit.c          | 13 +++++++++++++
 env/env.c             | 30 ++++++++++++++++++++++++++++++
 env/mmc.c             | 28 ++++++++++++++++++++++++++++
 include/environment.h | 17 +++++++++++++++++
 4 files changed, 88 insertions(+)

--
2.17.1