aboutsummaryrefslogtreecommitdiff
path: root/cmd/bootm.c
diff options
context:
space:
mode:
authorSimon Glass2019-12-28 10:45:02 -0700
committerTom Rini2020-01-17 14:02:35 -0500
commitbb872dd930ccc0fb7a91c1b8e34b39ce2e9fed06 (patch)
tree583e177f483d60b15d54ed1b68240df39ea0d929 /cmd/bootm.c
parent9a3b4ceb37989263e9280644912d269386b99bb7 (diff)
image: Rename load_addr, save_addr, save_size
These global variables are quite short and generic. In fact the same name is more often used locally for struct members and function arguments. Add a image_ prefix to make them easier to distinguish. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/bootm.c')
-rw-r--r--cmd/bootm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/bootm.c b/cmd/bootm.c
index 62ee7c4b8a1..931d53f0c72 100644
--- a/cmd/bootm.c
+++ b/cmd/bootm.c
@@ -144,7 +144,8 @@ int bootm_maybe_autostart(cmd_tbl_t *cmdtp, const char *cmd)
char *local_args[2];
local_args[0] = (char *)cmd;
local_args[1] = NULL;
- printf("Automatic boot of image at addr 0x%08lX ...\n", load_addr);
+ printf("Automatic boot of image at addr 0x%08lX ...\n",
+ image_load_addr);
return do_bootm(cmdtp, 0, 1, local_args);
}
@@ -232,7 +233,7 @@ static int do_iminfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
int rcode = 0;
if (argc < 2) {
- return image_info(load_addr);
+ return image_info(image_load_addr);
}
for (arg = 1; arg < argc; ++arg) {