diff options
| author | Simon Glass <[email protected]> | 2019-12-28 10:45:02 -0700 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2020-01-24 23:06:49 +0530 |
| commit | e7f0ec09a04d208b9cdfb095bacf5394d90f19f3 (patch) | |
| tree | 31cfceb95976941c377a7322be8575153c63aa50 /cmd/disk.c | |
| parent | 657afb14a0a96bd00177652d5510b3d5fb0327d5 (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 <[email protected]>
Diffstat (limited to 'cmd/disk.c')
| -rw-r--r-- | cmd/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/disk.c b/cmd/disk.c index 437c1753740..c57561b3cb7 100644 --- a/cmd/disk.c +++ b/cmd/disk.c @@ -124,7 +124,7 @@ int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc, flush_cache(addr, (cnt+1)*info.blksz); /* Loading ok, update default load address */ - load_addr = addr; + image_load_addr = addr; return bootm_maybe_autostart(cmdtp, argv[0]); } |
