diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-07-28 11:51:20 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-31 10:13:00 -0400 |
commit | 0115dd3a6a144e9c974e00a9f3f41c5bb053236e (patch) | |
tree | b493f2af6ae993f3fe319d5f97c3833d160041af /include | |
parent | 466d9855d4ee828c998ee3ea29e5685e38d3064e (diff) |
cmd: env: add env load command
Add the new command env load to load the environment from
the current location gd->env_load_prio.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/env.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/env.h b/include/env.h index d6c2d751d6..68e0f4fa56 100644 --- a/include/env.h +++ b/include/env.h @@ -266,6 +266,13 @@ int env_set_default_vars(int nvars, char *const vars[], int flags); int env_load(void); /** + * env_reload() - Re-Load the environment from current storage + * + * @return 0 if OK, -ve on error + */ +int env_reload(void); + +/** * env_save() - Save the environment to storage * * @return 0 if OK, -ve on error |