diff options
| author | Simon Glass <[email protected]> | 2017-08-03 12:22:13 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-08-16 08:30:32 -0400 |
| commit | bfebc8c965e41d62dc6355d09bdd63ca57011b99 (patch) | |
| tree | 2739bc0c03f554119f9feaaea578a11f0d08aa61 /common/bootm.c | |
| parent | 00caae6d47645e68d6e5277aceb69592b49381a6 (diff) | |
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 <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'common/bootm.c')
| -rw-r--r-- | common/bootm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bootm.c b/common/bootm.c index 0c380e742f3..08563540670 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -72,7 +72,7 @@ static int bootm_start(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { memset((void *)&images, 0, sizeof(images)); - images.verify = getenv_yesno("verify"); + images.verify = env_get_yesno("verify"); boot_start_lmb(&images); @@ -534,7 +534,7 @@ static void fixup_silent_linux(void) * yes - we always fixup * unset - we rely on the console silent flag */ - want_silent = getenv_yesno("silent_linux"); + want_silent = env_get_yesno("silent_linux"); if (want_silent == 0) return; else if (want_silent == -1 && !(gd->flags & GD_FLG_SILENT)) |
