From bb872dd930ccc0fb7a91c1b8e34b39ce2e9fed06 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:45:02 -0700 Subject: 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 --- cmd/nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/nand.c') diff --git a/cmd/nand.c b/cmd/nand.c index 5bda69e819..92089a73c1 100644 --- a/cmd/nand.c +++ b/cmd/nand.c @@ -925,7 +925,7 @@ static int nand_load_image(cmd_tbl_t *cmdtp, struct mtd_info *mtd, /* Loading ok, update default load address */ - load_addr = addr; + image_load_addr = addr; return bootm_maybe_autostart(cmdtp, cmd); } -- cgit v1.2.3