Message ID | df9accbf0ddf634f8de0418156a95a9a00d1bbb8.1723050310.git.jerome.forissier@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4e11:0:b0:367:895a:4699 with SMTP id p17csp494150wrt; Wed, 7 Aug 2024 10:15:25 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXUPilo0UgqQBa+/bEJbFARTvuR4q3sxgA+1uq/EGKTheAz04gWBpg5/5ySkmopTSDFGFWskMin7at5PeL1CQjb X-Google-Smtp-Source: AGHT+IEZsx6F6nVAmjekgj2FhTxUfaFO0KrwI333XP0mlSMmHyxHj9hgJR16iJEFYOcsDCPp/PDy X-Received: by 2002:a05:6512:15a1:b0:52c:9383:4c16 with SMTP id 2adb3069b0e04-530bb3b1806mr14078837e87.22.1723050925511; Wed, 07 Aug 2024 10:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723050925; cv=none; d=google.com; s=arc-20160816; b=h0/7ZjOSOfUQtgBBiQ/OHf/WWhRWSYodE1hBod95ELCrKHgcNwP7kvGPfMGbTSEgAk 4cwFnJhhgqqT8rZjOA/2xWsnIsza6rt5XmS1fevlfSf6suCtg0g6dUcTKS5fFq4diYax fnwOHhTxgegP6uWIgvm5nc5q3SvJ5hlqSnm/ng+VoZ7XuiLxxQH856GYRHrh6VG7LHa9 WAWYe7EMu1fX0slB+C65oUvI1vgrE86ouipE7dCItPN6/HkZCnEBMovBUPH5g6T8c28U bcoAqua5hGP5gJ3H6RVts5VuPK/Q5jNkDEQ7sxQhyuHVHR6Gz7qrKg7LBkP9+eImHzTA wVkg== 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=zdp01/yRTug/L7leEZkI6QC+rO5poGAEuSCl5vOAgD4=; b=iIvq2MOIhpFhJBsnfU3+N5WHnre5MYVcRMt0swjKlHElgP7VSNXbB8isQGetN0Bbjb UffyW+pukBtpy42Lr6hBjVnCxHj3M51lp3c44IWSUq6PriE0dk6gE1S5dyIjIkdCjsTB o2jnXf4wqm0Kp5Kyis0JA31+/kQApUCOwNsCPXgKe+HpE6ZtomWTgg7MtViAz7jLjssA i1npEh7Av9aBT+x7jsBTWslrRX1phvYxad7dhImu6SLGUprmWVxFDN1+vv0n1w/z7yWQ zLTtCkE9S0pIcnE9UoLm5coe5NIuSdcuXYkW0EGJ7D7owaFjJnUvFO4vxBR392Ut6viL eSXA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pcB30qdt; 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-5b839d2adddsi7250135a12.192.2024.08.07.10.15.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 10:15:25 -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=pcB30qdt; 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 5769A88D68; Wed, 7 Aug 2024 19:13:26 +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="pcB30qdt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D8B8A88D53; Wed, 7 Aug 2024 19:13:24 +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-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 ED96188D46 for <u-boot@lists.denx.de>; Wed, 7 Aug 2024 19:13:22 +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-x42b.google.com with SMTP id ffacd0b85a97d-36ba3b06186so37188f8f.2 for <u-boot@lists.denx.de>; Wed, 07 Aug 2024 10:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723050802; x=1723655602; 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=pcB30qdt9R4akdE+I/aBeTJ/2kK9xZRTfEv6FtWQVdO2yupksTsXbRrWioWeepn8vg xOOfbsjh8Vw6IOi3vuet0w0qqqMwTp/X6cJT+ig/K222ILZS1vEarvZvw/4nyEg96aS+ 0vYw1LxH2SU+Z2G08UBEYFcsFBjagPcgy466A8P09J0lZcmwWcRLlj+44VqltGWtrGe9 stdP6mH1oppNA/r4WA0/SHcQxo4YOKAAwZJ1/n3WiFbLVoZR2+rSpQ/Dp8i64jJJWxX5 0R4AcpLSw+V8pdzE1lDoNvjGQ6Y6nJCiWwGhd5vM9AsG7FzT09+92AfTT22sn+YbQfVN mmrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723050802; x=1723655602; 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=tDP/UvhwLPm8SWO6TI7mgcTTarFT7bmyn1T5yFDOY+LJgpMpffi4eUapvLvM9O1CJe 8okRHyVBT64i0BmKq0JHYkMnrmAPH5MvFSJEuXPXNu5r/1DkWQhkAYbm8zG4k3sQT5ZV LpB6H8rRN1nXkFCm/jobHiA0zvppJxZ2eeSNDrV192HDTCdr2w+n1TDlWiLThYws//pl O70eHtSLtYVurXLQ0vt4CEpMI65Ki/jTmKl3qi9NjiSmS7QEqY0Vb+klegL5jJHimFIX 8+1WqHvvGN7Sy3LL5eyvCx9eZ/Vdz8jrc8WbSRcgLYb5MsG+UbCDPnfP3XfboR3OKcEs 8wAw== X-Gm-Message-State: AOJu0YxedOhCEX+NQhnu1f2C719Xgy09IvRZQPcloOw4Hj1CZST9ChtN QxMKGTqmakLmgWL4fC1JVeUDF/jxW0Bp/BXfZObkjc7Ryz/LjwjkTJIRG0MZ2r6lHYxF5+Rg++d 1WCAPOlxq X-Received: by 2002:adf:c003:0:b0:368:3ee5:e3e1 with SMTP id ffacd0b85a97d-36bbc0c6b40mr10704376f8f.7.1723050802182; Wed, 07 Aug 2024 10:13:22 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:bb3d:43b8:4780:757c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd0597b2sm16623781f8f.81.2024.08.07.10.13.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 10:13:21 -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>, Simon Glass <sjg@chromium.org>, Marek Vasut <marek.vasut+renesas@mailbox.org> Subject: [PATCH v8 17/23] cmd: bdinfo: enable -e when CONFIG_CMD_NET_LWIP=y Date: Wed, 7 Aug 2024 19:12:01 +0200 Message-Id: <df9accbf0ddf634f8de0418156a95a9a00d1bbb8.1723050310.git.jerome.forissier@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <cover.1723050310.git.jerome.forissier@linaro.org> References: <cover.1723050310.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 |
Introduce the lwIP network stack
|
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;