mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08: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:
@ -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");
|
||||
|
Reference in New Issue
Block a user