It can be useful for board code to deny loading an environment without
disabling it altogether, e.g. to disable load of the environment when
entering a recovery mode. Add a function for that.

Ahmad Fatoum (3):
  globalvar: suppress nvvar_save when no external environment was loaded
  startup: bump down log message about lack of persistent environment
  environment: allow board code to suppress external env loading

 common/environment.c |  7 +++++++
 common/globalvar.c   |  9 ++++++++-
 common/startup.c     | 18 +++++++++++++-----
 include/envfs.h      |  5 +++++
 include/globalvar.h  |  1 +
 5 files changed, 34 insertions(+), 6 deletions(-)

-- 
2.47.3


Reply via email to