mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +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:
@@ -301,7 +301,7 @@ const char *bootdelay_process(void)
|
||||
bootcount++;
|
||||
bootcount_store(bootcount);
|
||||
env_set_ulong("bootcount", bootcount);
|
||||
bootlimit = getenv_ulong("bootlimit", 10, 0);
|
||||
bootlimit = env_get_ulong("bootlimit", 10, 0);
|
||||
#endif /* CONFIG_BOOTCOUNT_LIMIT */
|
||||
|
||||
s = env_get("bootdelay");
|
||||
|
Reference in New Issue
Block a user