Message ID | 7e5baca6e6781a6677e5f6b6cd4c11fc5792207b.1722601509.git.jerome.forissier@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:e00d:0:b0:367:895a:4699 with SMTP id s13csp270639wrh; Fri, 2 Aug 2024 06:16:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWLh/YhOKiqFmmIVlZPPyaDH+BFAdVZMcBfzJ2Y1FwqqRpWS6gkI1Jdr+q1WmHQZlmesiok6k0GrjHmp+mI1zlX X-Google-Smtp-Source: AGHT+IEcVQlY+fGzLJ/hixK4FmzoBrqejpQuyg0MOIY2ZY+28gLs00aulI66am6DzsH1NgmDByK1 X-Received: by 2002:a05:6402:1a42:b0:59e:9e8b:f6d with SMTP id 4fb4d7f45d1cf-5b7f36f7cd8mr2431007a12.2.1722604601180; Fri, 02 Aug 2024 06:16:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1722604601; cv=none; d=google.com; s=arc-20160816; b=JDZBKZtBhelYuLAEtKg9WaohraAW5M3tp5BbS/MChWeureaqR307LlNu6+18BTxako DUsjOb+2UEGWG5Ek9pKU6ylZBuacZBIzPlToQ9w89XtvgHKmD9XcBKvKpk1nAv9bibvc xX5ReJjJDsWP6lqp6LBD6inBgzp14qTwMHb+Zl8ss268rpemrsfFUyleG0afpJntV5H6 OGuXiPHb2z9cXIisTmLDlk6eqlrT+hvnldByjfrNU3G+Wd0WMQy8TF6zs+D7r1hWjBvL kcwOg9oL6bBjnk4z4NNXCMZtuyUZi4sZIjbbc7tKePsgDStn2Gf4cJopbtr1HfDEatH0 DDPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WQUv/HNCuMRxpKPtwooUf712RMBAKG5Q2VDiw47vrAI=; fh=B9a4yICW9Tgzslqe+zIFfd/s6OBWnj2vbgZwG4RiXQs=; b=ikWhPPFhuP/fORNjiqtYN0S9Sbc6ecUvYBPD6/Rv2mQglLAAk7lhEEXl61qnJmTTdH LyzndCCP8HlbFv4lMlN6oKkqZzddQqQYD9cP2SYlEtqkn6mQ76pgkbNgX9s85N8fNqnF OGBxjAxbYof0NylfDPysZYhleAAdSpJo5IRR5Z3xsEh086YKv/XIvvEgnNYutLUnfswI nx2MSIHgU+FIQXgsZ+3aXzfBREYN28mk7EK56I+1u8woIzLbu4u2gAa8Nhsd/CZbxR7g DImZLWIXUbKE/jp4WnvAJwQgqxbmjvzY6xQr8YoVDOV/hd7bq97QWrqAtVUAjZplAnl/ s5Xw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KqcPakdG; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5b83b93654fsi1062540a12.263.2024.08.02.06.16.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 06:16:41 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KqcPakdG; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7E91B88BF0; Fri, 2 Aug 2024 15:15:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="KqcPakdG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 930EE88BEF; Fri, 2 Aug 2024 15:15:12 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 9898388BE9 for <u-boot@lists.denx.de>; Fri, 2 Aug 2024 15:15:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-36bb2047bf4so988001f8f.2 for <u-boot@lists.denx.de>; Fri, 02 Aug 2024 06:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722604508; x=1723209308; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WQUv/HNCuMRxpKPtwooUf712RMBAKG5Q2VDiw47vrAI=; b=KqcPakdGDtIPBxAgNStZFG37z832tVLAatgrNbT762s6zQbz2EXTFyX6QVBQNLcWRz ggJITWEkR/DLfr3I3tTbn13RyE82nwbR7CFGWh4AhlkRlEwpj6REqK2Z1Zw6eohIi17/ GIb3nkrXy1FDhqepo02QN1eCe40gxmu1M4Us7h3TdnbTWhLlmB62VY1bzwS9eGqoFwjN elXxF3iUOgjBYlAd1ftTL2rG7bksg2OBW89z3712aatNKA1NwACb2n0mDkNcprcQugtJ /SQWDWeYcarHyEqrPl2ElVizXQu4gPyx0vzrgZ14WnC8cVXcFF8a/ZLsvNh85NLoibFY GAWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722604508; x=1723209308; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WQUv/HNCuMRxpKPtwooUf712RMBAKG5Q2VDiw47vrAI=; b=ICiKwgfrq9eO9Z4ue91JBdrpj02HxVOsPsN7gdBKzBtmhokEzEsDc9lEkS6I1I3IMf M1K1DVAwJQBBnXNW3kF1QU8298vF22auErpA26/Rj5sro5zOiwvjkpzsOllYBy7/bjsa 4C+aiUK0sWpHx56OeyszvV8xCHo81uwesc1kf5xbcZ7XyeFJzkwlxxW2VxKzzrUJ02GW aX4+61FruCVz5lFU15+KWkq4wBotYEWcLB1Om2fw5ZVimGtBpzfaJP/Up3p7tibYZOgC iBOG/wSHuJeRguCpTfskOXz0S0nKRln2z4q37wWt5bXcsUqY2gyg9kKbln8AImnQmTxc ckow== X-Gm-Message-State: AOJu0Ywqj0DvrtsZKSbTQe+J1fwCAEKO10goU0yVuVhb6NYfbHoI10YR OSEWzX0eDM55llk0G9kv5rSc4FQ3TLyO6ZXdosmmtKZnFKQdLX1LEMGJIXFI+vxBHALT3NftnU/ Q/Owy1ZvK X-Received: by 2002:a05:6000:12c3:b0:367:96aa:af79 with SMTP id ffacd0b85a97d-36bbc194ee2mr2304136f8f.58.1722604507807; Fri, 02 Aug 2024 06:15:07 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:4fc9:a3ab:c134:cdf4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbcf0cc58sm1970304f8f.2.2024.08.02.06.15.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 06:15:07 -0700 (PDT) From: Jerome Forissier <jerome.forissier@linaro.org> To: u-boot@lists.denx.de Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Javier Tia <javier.tia@linaro.org>, Raymond Mao <raymond.mao@linaro.org>, Maxim Uvarov <muvarov@gmail.com>, Tim Harvey <tharvey@gateworks.com>, Jerome Forissier <jerome.forissier@linaro.org>, Tom Rini <trini@konsulko.com>, Marek Vasut <marek.vasut+renesas@mailbox.org>, Simon Glass <sjg@chromium.org> Subject: [PATCH v6 15/20] cmd: bdinfo: enable -e when CONFIG_CMD_NET_LWIP=y Date: Fri, 2 Aug 2024 15:14:02 +0200 Message-Id: <7e5baca6e6781a6677e5f6b6cd4c11fc5792207b.1722601509.git.jerome.forissier@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <cover.1722601509.git.jerome.forissier@linaro.org> References: <cover.1722601509.git.jerome.forissier@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
[v6,01/20] flash: prefix error codes with FL_
|
expand
|
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 437ac4e8630..472e5c42b08 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -151,7 +151,7 @@ static int bdinfo_print_all(struct bd_info *bd) bdinfo_print_num_l("relocaddr", gd->relocaddr); bdinfo_print_num_l("reloc off", gd->reloc_off); printf("%-12s= %u-bit\n", "Build", (uint)sizeof(void *) * 8); - if (IS_ENABLED(CONFIG_CMD_NET)) + if (IS_ENABLED(CONFIG_CMD_NET) || IS_ENABLED(CONFIG_CMD_NET_LWIP)) print_eth(); bdinfo_print_num_l("fdt_blob", (ulong)map_to_sysmem(gd->fdt_blob)); bdinfo_print_num_l("new_fdt", (ulong)map_to_sysmem(gd->new_fdt)); @@ -197,7 +197,8 @@ int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) case 'a': return bdinfo_print_all(bd); case 'e': - if (!IS_ENABLED(CONFIG_CMD_NET)) + if (!IS_ENABLED(CONFIG_CMD_NET) && + !IS_ENABLED(CONFIG_CMD_NET_LWIP)) return CMD_RET_USAGE; print_eth(); return CMD_RET_SUCCESS;