From 01510091de905c46620757b9027b2e55c4b3b313 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 3 Aug 2017 12:22:08 -0600 Subject: env: Drop saveenv() in favour of env_save() Use the env_save() function directly now that there is only one implementation of saveenv(). Signed-off-by: Simon Glass Reviewed-by: Wolfgang Denk Reviewed-by: Tom Rini --- include/environment.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/environment.h') diff --git a/include/environment.h b/include/environment.h index b4f93663da..a055e3fa89 100644 --- a/include/environment.h +++ b/include/environment.h @@ -325,6 +325,13 @@ int env_get_char(int index); */ int env_load(void); +/** + * env_save() - Save the environment to storage + * + * @return 0 if OK, -ve on error + */ +int env_save(void); + #endif /* DO_DEPS_ONLY */ #endif /* _ENVIRONMENT_H_ */ -- cgit v1.2.3