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 /arch | |
| 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 'arch')
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/mp.c b/arch/powerpc/cpu/mpc85xx/mp.c index 0addf8493c2..2ea9f5c7be0 100644 --- a/arch/powerpc/cpu/mpc85xx/mp.c +++ b/arch/powerpc/cpu/mpc85xx/mp.c @@ -31,7 +31,7 @@ u32 get_my_id() int hold_cores_in_reset(int verbose) { /* Default to no, overridden by 'y', 'yes', 'Y', 'Yes', or '1' */ - if (getenv_yesno("mp_holdoff") == 1) { + if (env_get_yesno("mp_holdoff") == 1) { if (verbose) { puts("Secondary cores are being held in reset.\n"); puts("See 'mp_holdoff' environment variable\n"); |
