[PATCH v2 0/3] environment: allow board code to suppress external env loading
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Dec 11 12:48:09 PST 2025
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 | 8 +++++++-
common/startup.c | 18 +++++++++++++-----
include/envfs.h | 5 +++++
include/globalvar.h | 1 +
5 files changed, 33 insertions(+), 6 deletions(-)
--
2.47.3
More information about the barebox
mailing list