From: Masahiro Yamada Date: Tue, 13 Feb 2018 03:10:02 +0000 (+0900) Subject: cmd: booti: fix invalid image address in debug message X-Git-Tag: v2018.03-rc3~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bf14d9a7e12e319bfd8fc8c54ef416331287cfda;p=u-boot cmd: booti: fix invalid image address in debug message With commit 6808ef9ac2a6 ("move booti_setup to arch/arm/lig/image.c"), images->ep has not been set at this point. Fixes: 6808ef9ac2a6 ("move booti_setup to arch/arm/lig/image.c") Signed-off-by: Masahiro Yamada Reviewed-by: Bin Chen --- diff --git a/cmd/booti.c b/cmd/booti.c index 0be786cb6b..fff9369763 100644 --- a/cmd/booti.c +++ b/cmd/booti.c @@ -37,8 +37,7 @@ static int booti_start(cmd_tbl_t *cmdtp, int flag, int argc, load_addr); } else { ld = simple_strtoul(argv[0], NULL, 16); - debug("* kernel: cmdline image address = 0x%08lx\n", - images->ep); + debug("* kernel: cmdline image address = 0x%08lx\n", ld); } ret = booti_setup(ld, &relocated_addr, &image_size);