1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

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>
This commit is contained in:
Simon Glass
2017-08-03 12:22:13 -06:00
committed by Tom Rini
parent 00caae6d47
commit bfebc8c965
25 changed files with 70 additions and 59 deletions

View File

@@ -329,7 +329,7 @@ void net_auto_load(void)
return;
}
#endif
if (getenv_yesno("autoload") == 0) {
if (env_get_yesno("autoload") == 0) {
/*
* Just use BOOTP/RARP to configure system;
* Do not use TFTP to load the bootfile.