mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
env: Rename common functions related to setenv()
We are now using an env_ prefix for environment functions. Rename these commonly used functions, 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:
@@ -512,7 +512,7 @@ int do_jffs2_fsload(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
if (size > 0) {
|
||||
printf("### %s load complete: %d bytes loaded to 0x%lx\n",
|
||||
fsname, size, offset);
|
||||
setenv_hex("filesize", size);
|
||||
env_set_hex("filesize", size);
|
||||
} else {
|
||||
printf("### %s LOAD ERROR<%x> for %s!\n", fsname, size, filename);
|
||||
}
|
||||
|
Reference in New Issue
Block a user