summaryrefslogtreecommitdiff
path: root/cmd/source.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-03 12:22:13 -0600
committerTom Rini <trini@konsulko.com>2017-08-16 08:30:32 -0400
commitbfebc8c965e41d62dc6355d09bdd63ca57011b99 (patch)
tree2739bc0c03f554119f9feaaea578a11f0d08aa61 /cmd/source.c
parent00caae6d47645e68d6e5277aceb69592b49381a6 (diff)
downloadu-boot-bfebc8c965e41d62dc6355d09bdd63ca57011b99.tar.gz
env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()
We are now using an env_ prefix for environment functions. Rename these for consistency. Also add function comments in common.h. Suggested-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/source.c')
-rw-r--r--cmd/source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/source.c b/cmd/source.c
index 177f86bb54..a9831b6608 100644
--- a/cmd/source.c
+++ b/cmd/source.c
@@ -40,7 +40,7 @@ source (ulong addr, const char *fit_uname)
size_t fit_len;
#endif
- verify = getenv_yesno ("verify");
+ verify = env_get_yesno("verify");
buf = map_sysmem(addr, 0);
switch (genimg_get_format(buf)) {