diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-03 21:22:08 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-16 03:50:30 +0300 |
commit | 01510091de905c46620757b9027b2e55c4b3b313 (patch) | |
tree | 6c4a3bfa6f7f35c37bd0bfe6f286218461e09577 /cmd | |
parent | 310fb14b2631b2175efe9b0e56d0f1630ad02d91 (diff) | |
download | u-boot-01510091de905c46620757b9027b2e55c4b3b313.tar.xz |
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 <sjg@chromium.org>
Reviewed-by: Wolfgang Denk <wd@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/nvedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/nvedit.c b/cmd/nvedit.c index 75df997592..4431ef66d8 100644 --- a/cmd/nvedit.c +++ b/cmd/nvedit.c @@ -710,7 +710,7 @@ static int do_env_save(cmd_tbl_t *cmdtp, int flag, int argc, printf("Saving Environment to %s...\n", env->name); - return saveenv() ? 1 : 0; + return env_save() ? 1 : 0; } U_BOOT_CMD( |