From patchwork Tue Feb 13 03:10:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 872553 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="jqsiadhU"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zgSGL5sc5z9sNw for ; Tue, 13 Feb 2018 14:10:33 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 02328C21F1D; Tue, 13 Feb 2018 03:10:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id EC698C21DB0; Tue, 13 Feb 2018 03:10:26 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 77514C21DB0; Tue, 13 Feb 2018 03:10:25 +0000 (UTC) Received: from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by lists.denx.de (Postfix) with ESMTPS id C4303C21D65 for ; Tue, 13 Feb 2018 03:10:23 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id w1D3A4GN013112; Tue, 13 Feb 2018 12:10:04 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com w1D3A4GN013112 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1518491405; bh=CiKz744/I3oERcCGcr93MpDSYAayI9QxXIX/fwSvo10=; h=From:To:Cc:Subject:Date:From; b=jqsiadhUBUZQ8l9aVIrNJ6AFEWFVBzla4GOPVZPSqKdG1HHxTwzWF/A8s4LNNIaFD 6qEFikybo2rdCiJXdpU11AeWJCohWJOniB5GJzP6c4vx8PUC+vQNAO3sD6hhtYcra/ fA/TFKIDwy7DX2sH2Ode0pBcarkHf4bZIJ9NNPFN0F6SSncKfg7UFyqmA74RxHBcMX mdxSdtMWuk/Vum3Wm07ALvSAfhkHX9jY6/9KyxYUPnzOaSqml6aTPrVzHkObklIwLa 4FCp02vo6d3F2UlsWMZC9YnXVl070rh1uQQZ1yh6abfafHgqGr7KS7x6nlTJOQzs9Z ed3j5Ls9EclDA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Tue, 13 Feb 2018 12:10:02 +0900 Message-Id: <1518491403-8352-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Subject: [U-Boot] [PATCH] cmd: booti: fix invalid image address in debug message X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- cmd/booti.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/booti.c b/cmd/booti.c index 0be786c..fff9369 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);