summaryrefslogtreecommitdiffstats
path: root/board/tcl
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 /board/tcl
parent00caae6d47645e68d6e5277aceb69592b49381a6 (diff)
downloadu-boot-bfebc8c965e41d62dc6355d09bdd63ca57011b99.tar.gz
u-boot-bfebc8c965e41d62dc6355d09bdd63ca57011b99.tar.xz
u-boot-bfebc8c965e41d62dc6355d09bdd63ca57011b99.zip
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 'board/tcl')
-rw-r--r--board/tcl/sl50/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/tcl/sl50/board.c b/board/tcl/sl50/board.c
index 08af279751..f79bb9dcdd 100644
--- a/board/tcl/sl50/board.c
+++ b/board/tcl/sl50/board.c
@@ -77,7 +77,7 @@ int spl_start_uboot(void)
#ifdef CONFIG_SPL_ENV_SUPPORT
env_init();
env_load();
- if (getenv_yesno("boot_os") != 1)
+ if (env_get_yesno("boot_os") != 1)
return 1;
#endif