cmd: booti: fix invalid image address in debug message

With commit 6808ef9ac2 ("move booti_setup to arch/arm/lig/image.c"),
images->ep has not been set at this point.

Fixes: 6808ef9ac2 ("move booti_setup to arch/arm/lig/image.c")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Bin Chen <bin.chen@linaro.org>
This commit is contained in:
Masahiro Yamada 2018-02-13 12:10:02 +09:00 committed by Tom Rini
parent 0850d7f7bf
commit bf14d9a7e1

View file

@ -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);