diff options
author | Simon Glass | 2019-12-28 10:45:02 -0700 |
---|---|---|
committer | Tom Rini | 2020-01-17 14:02:35 -0500 |
commit | bb872dd930ccc0fb7a91c1b8e34b39ce2e9fed06 (patch) | |
tree | 583e177f483d60b15d54ed1b68240df39ea0d929 /cmd/bmp.c | |
parent | 9a3b4ceb37989263e9280644912d269386b99bb7 (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/bmp.c')
-rw-r--r-- | cmd/bmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/bmp.c b/cmd/bmp.c index d2a39f677fd..1e4c9720fea 100644 --- a/cmd/bmp.c +++ b/cmd/bmp.c @@ -95,8 +95,8 @@ static int do_bmp_info(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[ ulong addr; switch (argc) { - case 1: /* use load_addr as default address */ - addr = load_addr; + case 1: /* use image_load_addr as default address */ + addr = image_load_addr; break; case 2: /* use argument */ addr = simple_strtoul(argv[1], NULL, 16); @@ -116,8 +116,8 @@ static int do_bmp_display(cmd_tbl_t * cmdtp, int flag, int argc, char * const ar splash_get_pos(&x, &y); switch (argc) { - case 1: /* use load_addr as default address */ - addr = load_addr; + case 1: /* use image_load_addr as default address */ + addr = image_load_addr; break; case 2: /* use argument */ addr = simple_strtoul(argv[1], NULL, 16); |