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: 128193 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp3822039ljc; Mon, 12 Feb 2018 19:10:32 -0800 (PST) X-Google-Smtp-Source: AH8x224Sg79kp3YMQNtsqKWkHJEvF0zzRGmphSKFLVuwCZ1paLo2HpoBVQMXVKqhEJWtZusunHiO X-Received: by 10.80.231.6 with SMTP id a6mr143757edn.240.1518491432401; Mon, 12 Feb 2018 19:10:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518491432; cv=none; d=google.com; s=arc-20160816; b=r1F0ZDvFIuW4v8iW+RQZGz2M+R4ZH7q3iTrFKQsorCUlFkdHTTSMOStiYUXijURjym ez1/LFVqAk3ly9oIO/cX1JHWpTSU6O6SlAM3h2AMslsp++l0dhMiCDkuB8Cwl6/4FOjE 3F3qP8HEpPAKN95WeKljs4WWVAfnOvL2EcOMtNwaYG6+DZHiJA9KloXxp63JkWplg8Jy KntVatDFOvvJUowEKSphnyo3pAv8Mu6vslg6k6QKsdQaXtcxKLOgbRrEH+pBSBCEfIQE 31PFmeu49EFKBulTJ6RJk49vj8jzDBWc2iea5q0tJKzRPl9jgYc9r+vFgQKtwd/ppaAw ar9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :dkim-filter:arc-authentication-results; bh=rQSSORz0jrfqaXLE3kGtZYtc3fULuz3AtU1Y38pJZIw=; b=eWVds4JUdTOHIYyKeOjORmVYOfEuWphDhum8YUDgjAJMIKMlDlNoDJwHiz1Ex56cYb krbPf4zDbnamYACn3jZVhCZNzPxCU4x0esg5AgdJIUSkd7MbX1ru+WHVgpMzgZPt1hTg GEg45/EXnd7yCohJB+TBW/SDMHutebNz+AmrZFZpr+NxpXfB9ZT8k92uf7u5zi3qv+Zh D0mYlEEXb36WsLGCGog1/uidrItbcFSuErrSYqixQ+Z4kveo4BcepYNbHbUYc3Il55EH pF9e8Mpzun6bzM1uaEmFYX2GCQXwQc8now/I8Uq0PULdkA6MHJ/VM9KcNEgsLpFc87D4 H5tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=jqsiadhU; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id j2si115818edc.201.2018.02.12.19.10.32; Mon, 12 Feb 2018 19:10:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=jqsiadhU; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id EB18EC21F0C; 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);