From patchwork Fri Oct 19 22:07:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Auer X-Patchwork-Id: 987087 X-Patchwork-Delegate: uboot@andestech.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; dmarc=none (p=none dis=none) header.from=aisec.fraunhofer.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42cLCP6K50z9sj7 for ; Sat, 20 Oct 2018 09:28:01 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 943E8C21C8B; Fri, 19 Oct 2018 22:17:53 +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=none 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 C317BC21DCA; Fri, 19 Oct 2018 22:15:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B7016C21DA6; Fri, 19 Oct 2018 22:11:12 +0000 (UTC) Received: from mail-edgeDD24.fraunhofer.de (mail-edgeDD24.fraunhofer.de [192.102.167.24]) by lists.denx.de (Postfix) with ESMTPS id B6026C21D83 for ; Fri, 19 Oct 2018 22:11:12 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2EPAACcVcpb/xwBYJlkGgEBAQEBAgEBAQEHAgEBAQGBUwMBAQEBCwGCBIFTOoxsizuZHIF6DYRsAoUJITYLDQEDAQECAQECAgJpKIU8BidSEFE9GgYOBYMhggEBqEwzihoJAYcihCOBWD+JboUNAp5BBwKBDYEBBI5PCxeBQIdrhn4sliaBSgoogVUzGiSDO5BZbQGMJAEB X-IPAS-Result: A2EPAACcVcpb/xwBYJlkGgEBAQEBAgEBAQEHAgEBAQGBUwMBAQEBCwGCBIFTOoxsizuZHIF6DYRsAoUJITYLDQEDAQECAQECAgJpKIU8BidSEFE9GgYOBYMhggEBqEwzihoJAYcihCOBWD+JboUNAp5BBwKBDYEBBI5PCxeBQIdrhn4sliaBSgoogVUzGiSDO5BZbQGMJAEB X-IronPort-AV: E=Sophos;i="5.54,401,1534802400"; d="scan'208";a="7272591" Received: from mail-mtaka28.fraunhofer.de ([153.96.1.28]) by mail-edgeDD24.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Oct 2018 00:11:12 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BPAAAHVspb/xBhWMBkHAEBAQQBAQcEAQGBUwUBAQsBhBGMbKRXgXoNhGwChSk2Cw0BAwEBAgEBAm0ohTsGJ1IQUT0aBg4FgyGCAqhIM4obCQGHIoV7P4luhQ0CnkEHAoENgQEEjk8LF4FAh2uGfiyWJoFKCieBVTMaJIM7kFk9MAGMJAEB X-IronPort-AV: E=Sophos;i="5.54,401,1534802400"; d="scan'208";a="18910118" Received: from fgdemucivp01ltm.xch.fraunhofer.de (HELO FGDEMUCIMP11EXC.ads.fraunhofer.de) ([192.88.97.16]) by mail-mtaKA28.fraunhofer.de with ESMTP/TLS/AES256-SHA; 20 Oct 2018 00:11:01 +0200 Received: from localhost.de (10.80.233.50) by FGDEMUCIMP11EXC.ads.fraunhofer.de (10.80.232.42) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sat, 20 Oct 2018 00:12:19 +0200 From: Lukas Auer To: Date: Sat, 20 Oct 2018 00:07:39 +0200 Message-ID: <20181019220743.15020-27-lukas.auer@aisec.fraunhofer.de> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181019220743.15020-1-lukas.auer@aisec.fraunhofer.de> References: <20181019220743.15020-1-lukas.auer@aisec.fraunhofer.de> MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-11.0.0.4179-8.200.1013-24166.002 X-TM-AS-Result: No--3.583000-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Cc: Heinrich Schuchardt , Greentime Hu Subject: [U-Boot] [PATCH 26/30] bdinfo: riscv: print fdt_blob address 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Print the address of the u-boot device tree. Signed-off-by: Lukas Auer Reviewed-by: Rick Chen --- cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 60b438766d..a9692f7662 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -430,6 +430,8 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) print_num("reloc off", gd->reloc_off); print_eth_ip_addr(); print_baudrate(); + if (gd->fdt_blob) + print_num("fdt_blob", (ulong)gd->fdt_blob); return 0; }