From patchwork Tue Sep 3 08:38:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 824890 Delivered-To: patch@linaro.org Received: by 2002:a5d:48c1:0:b0:367:895a:4699 with SMTP id p1csp2298448wrs; Tue, 3 Sep 2024 01:41:32 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX8zdXw2rwIH8D7OshRk0+hj59cf5dNX6b6dL9P49fj0kAPIPZGFc9FTLtWFCzcAVDxVIrG3A==@linaro.org X-Google-Smtp-Source: AGHT+IFzgJ/ph6tiQzVc/O+WxikFMBhcxQe0qWeeOnpYvbl2XcS0FjKJwCCkXFopi8aqlVRmzoSd X-Received: by 2002:a17:907:9602:b0:a86:9596:92a3 with SMTP id a640c23a62f3a-a89faf98549mr486951966b.44.1725352892324; Tue, 03 Sep 2024 01:41:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725352892; cv=none; d=google.com; s=arc-20240605; b=K2r/JF1ublRlwmWahsO43k+dqBb/BM1ZPIyvhAkKlbFKVggkDu2GMzJcDeNvxxfsd9 XOdDhq1YUiASN07c4kvxh/wYek4AOPx+YfJX1vKlLpdSGJNEYoU4sIom+ABb29pMI5T2 CMAl4BgYAqjOS4B+xGTUzqgUWK9DrkzeNE4DXlNaJRuCM6vXAMwbKZu3C14TZoowwRzm D5X8BYRs0kN8B8Bxzk5PUipoGjUoXVlQvlXogNoW9M3a76pMYl2MPxxV2GGIVkWBmClU PdmhWP8KcWQ0FBRiKydWg5Lrl0gX+NeOc1HoVexSEUafZIO8PZRglv4YRkYlY01A9MQ5 VtwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=7pQJ/U35Kq9qHhWWud44CyWS+0/ZT8DvHOfQHL+FlLc=; fh=KK4fXgyFNgkiNrkNoUwNoo90LszXiJEto4XGHfu436I=; b=bRC43m61xJGrWAY11Fjq1K8X7F+SIDifKMVaUceGC2PUgzS+vHR+AXrsh4UKdZMnhu AVQA+cY+UJyeeEVCTPUxbLZR8bFl0jTaSbQGoauk5yEkJtVBrny4NT+uAlbi7TNoPRqL dfRDGPn50WMYHYyTemLGaK1KjcRn+oBDyNJmxH/BRhgzbmdRxRMykIM4yWcPYcl7Amd8 zF2bk0xKj9pvCsEKYJ8SM1cCk0SVtrhHrzqe1RS9FRsHHGjgVJmgYwOqWAlzfkvpH94H hHpnMgDgi8+Ql04yxj1+a8xuKDCLwLE/rIh7U16KFpENbVmvB/N2AfCCw0pADnCPIbwd xhrQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Do6we/yA"; 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: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-a89891cf8a3si834908066b.738.2024.09.03.01.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 01:41:32 -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="Do6we/yA"; 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 DD8C888D42; Tue, 3 Sep 2024 10:39:06 +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="Do6we/yA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 52CA188D2A; Tue, 3 Sep 2024 10:39:06 +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, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (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 1752488D20 for ; Tue, 3 Sep 2024 10:39:04 +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-wm1-x330.google.com with SMTP id 5b1f17b1804b1-42bac9469e8so41573585e9.3 for ; Tue, 03 Sep 2024 01:39:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725352743; x=1725957543; 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=7pQJ/U35Kq9qHhWWud44CyWS+0/ZT8DvHOfQHL+FlLc=; b=Do6we/yApPkji1K36YcO2MxbCM7o5bDcy2VzppW46an2uxMiTwBNLZS698UpYgBOFh 7nCDrIHvE9CjjVIpCLvYhLX/lMmBQILuwaaOkYjt11vWDLQzB6Fe12+I67pfyY5/sHha 7Tn+8xnBQvqJD+0D2ljT67jO0qiaj/K6aAnjsj68he8O91pn2oO/lOXRfmn73YjNO6LY TUIyE0omoc+t8JuyK2bxGpQ871Blt2gUruP6TAN/0dEnvKf1q2z5+ZJv1lT4K+zfvcU0 66Zk6pGmn6heTgxpl/dDdSpnVvrs4blgQR8LMOqQ/bwBWJ3t46NBUVZr34tpwwF/OjsZ +bew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725352743; x=1725957543; 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=7pQJ/U35Kq9qHhWWud44CyWS+0/ZT8DvHOfQHL+FlLc=; b=ZC1OMLATBOHXPOnQypH86bh01+SdZWN/v76jc8gjlS+DEe8BCP28MdwDnzQAK479EQ IRb+5b9gdvrQeRfdzDYsopHihqj8IbCU0ZiIuPcTFYlvhjCfXzqtGKGAuvn7Fr/UaB3a VmFrCbQwW/ETxmg0J5+bBYYa6Ihck+FOa7ungnLZLdr+arlZERmAnmZxMynhx2Li0vms foM43UHCOLUn9mNQJ61Uo1y2Y+S9tm6V/oiZvK7xDK1vbgcYldzpKYoqqoST4RaFjDNO OEaiB1OZoGx9h/NLxMVZeQMI5GH/J+7esyzRjMypwo6R1wlH7HVEDloSObHLXYAzu1ar cCEQ== X-Gm-Message-State: AOJu0YxxNFAQA8DwDeTLmyA8nc6WzvF5MOCS1fcgmf4LSIHnugTJuGYd wNTVkHgCE1sPsK1sNEWgOOGOFYoN0kFcgykumH5+1E5e3+zUmPcsZzvZ2AFnBQkQwgH+VJpntPo bB8tshA== X-Received: by 2002:a05:600c:3c98:b0:427:dac4:d36 with SMTP id 5b1f17b1804b1-42c82f47ed6mr48284425e9.7.1725352743131; Tue, 03 Sep 2024 01:39:03 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:6417:8cf6:a7f7:ee38]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6df795asm163103325e9.21.2024.09.03.01.39.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 01:39:02 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Peter Robinson , Jerome Forissier , Tom Rini , Simon Glass , Stefan Roese , Marek Vasut , Rasmus Villemoes , Jagan Teki Subject: [PATCH v3 15/16] common: update: UPDATE_COMMON implies CMD_TFTPBOOT Date: Tue, 3 Sep 2024 10:38:12 +0200 Message-Id: <8d57cb45bfe353fbe8006d9c083898522613ba0d.1725351676.git.jerome.forissier@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean common/update.c (UPDATE_COMMON) depends on tftp_timeout_ms which is defined in cmd/tftp.c (CMD_TFTPBOOT). Therefore add the appropriate imply statement to Kconfig. Signed-off-by: Jerome Forissier Reviewed-by: Peter Robinson --- common/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/Kconfig b/common/Kconfig index 83c81edac20..968d4fb66a8 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -934,6 +934,7 @@ menu "Update support" config UPDATE_COMMON bool select DFU_WRITE_ALT + imply CMD_TFTPBOOT config UPDATE_TFTP bool "Auto-update using fitImage via TFTP"