summaryrefslogtreecommitdiff
path: root/cmd/nvedit.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:56 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commit0b9d8a0556e577190876ae756cf1de97104c9b41 (patch)
tree066ddb61c70ff0754910c854fcf51dd90a53bf16 /cmd/nvedit.c
parent03ed91887fa8da9d34a3921c1e111b28dff47a26 (diff)
downloadu-boot-0b9d8a0556e577190876ae756cf1de97104c9b41.tar.gz
u-boot-0b9d8a0556e577190876ae756cf1de97104c9b41.tar.bz2
u-boot-0b9d8a0556e577190876ae756cf1de97104c9b41.zip
env: Move set_default_vars to env.h
Move this function to the new header file and rename it so it has an env_ prefix. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/nvedit.c')
-rw-r--r--cmd/nvedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/nvedit.c b/cmd/nvedit.c
index 01110e9b3a..d1178f6033 100644
--- a/cmd/nvedit.c
+++ b/cmd/nvedit.c
@@ -820,7 +820,7 @@ static int do_env_default(cmd_tbl_t *cmdtp, int flag,
}
if (!all && (argc > 0)) {
/* Reset individual variables */
- set_default_vars(argc, argv, env_flag);
+ env_set_default_vars(argc, argv, env_flag);
return 0;
}