summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-02-13 12:10:02 +0900
committerTom Rini <trini@konsulko.com>2018-02-13 23:24:22 -0500
commitbf14d9a7e12e319bfd8fc8c54ef416331287cfda (patch)
treee6bdc63403017950d1e61a37371d6d907d23e012 /cmd
parent0850d7f7bf3b2ccf41cdcf45b174f683ba64827f (diff)
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 <yamada.masahiro@socionext.com> Reviewed-by: Bin Chen <bin.chen@linaro.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/booti.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/booti.c b/cmd/booti.c
index 0be786cb6bf..fff93697635 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);