From patchwork Sat Nov 9 03:56:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 1192363 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 (no SPF record) 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=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 4793Gg41vKz9sPF for ; Sat, 9 Nov 2019 14:56:25 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 19C6AC21DF8; Sat, 9 Nov 2019 03:56:18 +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_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 6DE07C21C38; Sat, 9 Nov 2019 03:56:17 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A11B2C21C38; Sat, 9 Nov 2019 03:56:16 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lists.denx.de (Postfix) with ESMTPS id 57444C21BE5 for ; Sat, 9 Nov 2019 03:56:16 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4793GS0pW0z1qqkK; Sat, 9 Nov 2019 04:56:16 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4793GS0Zxnz1qqkJ; Sat, 9 Nov 2019 04:56:16 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id jXKpzqsNhjHR; Sat, 9 Nov 2019 04:56:14 +0100 (CET) X-Auth-Info: UwEaNMe0UlllJzTq11kfGpb7F/uJh4b1OZ0/CW/MuGk= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 9 Nov 2019 04:56:14 +0100 (CET) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 0B99E18361D; Sat, 9 Nov 2019 04:56:13 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id E09C71A007D; Sat, 9 Nov 2019 04:56:12 +0100 (CET) From: Heiko Schocher To: u-boot@lists.denx.de Date: Sat, 9 Nov 2019 04:56:10 +0100 Message-Id: <20191109035610.3682632-1-hs@denx.de> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Cc: Heinrich Schuchardt , Joe Hershberger Subject: [U-Boot] [PATCH] bdinfo: show multi_dtb_fit 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" if MULTI_DTB_FIT is enabled it is helpful to display the value of gd->multi_dtb_fit in bdinfo. Signed-off-by: Heiko Schocher Reviewed-by: Simon Glass --- travis build: https://travis-ci.org/hsdenx/u-boot-test/builds/609100901 cmd/bdinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index ae6006f85f..e12c96b767 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -347,6 +347,9 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, #if CONFIG_VAL(SYS_MALLOC_F_LEN) printf("Early malloc usage: %lx / %x\n", gd->malloc_ptr, CONFIG_VAL(SYS_MALLOC_F_LEN)); +#endif +#if CONFIG_IS_ENABLED(MULTI_DTB_FIT) + print_num("multi_dtb_fit", (ulong)gd->multi_dtb_fit); #endif if (gd->fdt_blob) print_num("fdt_blob", (ulong)gd->fdt_blob);