Message ID | 20200510201702.196031-17-sjg@chromium.org |
---|---|
State | Accepted |
Commit | 3cfbe22bf278163fd86d5005ca4d16f354e1e187 |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Ehosp/gw; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49KwTp5Wbwz9sNH for <incoming@patchwork.ozlabs.org>; Mon, 11 May 2020 06:22:22 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D25B9816C9; Sun, 10 May 2020 22:18:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Ehosp/gw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8ABB1813B7; Sun, 10 May 2020 22:17:38 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EF4B8812EE for <u-boot@lists.denx.de>; Sun, 10 May 2020 22:17:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd42.google.com with SMTP id y26so7388367ioj.2 for <u-boot@lists.denx.de>; Sun, 10 May 2020 13:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=296TIsT/h35vJyT4XklN/F9+dfXwVtBD1xR64eIsRd0=; b=Ehosp/gwQFpjqGKqjjwncCuo5ONRtNhb0gguX2k2d6EOiG2gfLlmHcRr0BnuImbKsP I4L2QLS69QODZbwLPC3MneaYyXnNUKSJDhGfZ2ecVvTdY+DAc1W1BNi6KGs15rFDXD5O F4hEdT649l6PK3OtgV2lBCT48OmsYQYs6qKIE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=296TIsT/h35vJyT4XklN/F9+dfXwVtBD1xR64eIsRd0=; b=FeRdUnYFGDuSAEV98K9fiyTX3brjjvBs1UVvlpRE2XvlEW/leeGdX/kC42e1esPVKN xpUT2uim9phi/wg8+Q+jpFBzmJobZ87H3l4dDDVy2HFF5aIxdhJGyUHCeNoThbdBWjwh S+2j0ZuaVfgU3dpW3GyxL7vF/ik2p6Z2pU2P4fAO06glKTkzj7Gps08EzT/9WFwWuMkZ JAabSWB7MSB+ZN+yb0PC/lv7zGZ+3ypEVylnppDiaR8esh6XjjQN7OvBp8kyVkBvZwBF s7v5Uz2p7C7beuCKA6JuzhiO0PTzJu1Npa+fzdXydBP00qKRJIjmpaxzVXNgcPN0I6qc J3Og== X-Gm-Message-State: AGi0PuYjdTvOrqgPB52yGLBsgRqb8W4xNPnvL5qx3ZAOZ/2F8SXD8Qld baAhqVl8elwXAgBSCeJvazGdehK4rfg= X-Google-Smtp-Source: APiQypI9Lhw4oKiJHJn0BtzJScE6ic03XSPxV5JIIYFv1OPH21vN8TMxBRbL6JDq7GZv0HgvNdnL/Q== X-Received: by 2002:a6b:c9cc:: with SMTP id z195mr12085898iof.164.1589141853758; Sun, 10 May 2020 13:17:33 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id s22sm3662176iow.40.2020.05.10.13.17.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 May 2020 13:17:33 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Bin Meng <bmeng.cn@gmail.com>, Stefan Roese <sr@denx.de>, Tom Rini <trini@konsulko.com>, Daniel Schwierzeck <daniel.schwierzeck@gmail.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v2 25/39] bdinfo: Drop print_bi_boot_params() Date: Sun, 10 May 2020 14:16:48 -0600 Message-Id: <20200510201702.196031-17-sjg@chromium.org> X-Mailer: git-send-email 2.26.2.645.ge9eca65c58-goog In-Reply-To: <20200510201702.196031-1-sjg@chromium.org> References: <20200510201702.196031-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
Tidy up the 'bd' command.
|
expand
|
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 5ffd86e508..b65eec332d 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -72,12 +72,6 @@ static void print_mhz(const char *name, unsigned long hz) printf("%-12s= %6s MHz\n", name, strmhz(buf, hz)); } - -static void print_bi_boot_params(const bd_t *bd) -{ - print_num("boot_params", (ulong)bd->bi_boot_params); -} - static void print_bi_dram(const bd_t *bd) { #ifdef CONFIG_NR_DRAM_BANKS @@ -137,7 +131,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) #endif if (IS_ENABLED(CONFIG_ARM)) print_num("arch_number", bd->bi_arch_number); - print_bi_boot_params(bd); + print_num("boot_params", (ulong)bd->bi_boot_params); print_bi_dram(bd); print_num("memstart", (ulong)bd->bi_memstart); print_lnum("memsize", (u64)bd->bi_memsize);