From patchwork Wed Sep 11 09:58:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 827385 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp711293wrc; Wed, 11 Sep 2024 03:01:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUhKa9sw6fwhlDIQGdXA8pIJ1ewluaNYVVGAmkZvHWYKzAFzB1vfbHKc3rFvZ+lBLMCNrngiQ==@linaro.org X-Google-Smtp-Source: AGHT+IEkUH2l1WUv0fI2hhJKW8ksDqBy8CFHwJu29tiKtrHQo4xcxU7MMFh+EiiWBxCjgpQhO7g4 X-Received: by 2002:a5d:6acd:0:b0:374:8f90:b78b with SMTP id ffacd0b85a97d-37889674993mr10042581f8f.44.1726048887537; Wed, 11 Sep 2024 03:01:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726048887; cv=none; d=google.com; s=arc-20240605; b=NxoIFCqvBWIjY/iNZiL84xrxCTZWu5G9N4aI+eK5Z2w+pvCx4+Wo9Y0MRUpc36Su8z E5fqoE2q8v0h0Mfo4YL3oX8xNLqqhz2UaC6FhzWX9M4Oz9cQeHRnxees2Efb6B4bKAk2 vcWdek/FxlU+j53StRRzZUbZasZdf/Idj3hcorZxBkGKneU3s9e6waSlsV2M93x8nAAo S6FKK4MYXvWxFIC//SDCxUL4upjNVMuH1p8Pkvyrws7LMMp7jsmjiYgCXJuwj779ZRnP WDCfo4pannBSI1jwxGSVP3qAs140lfdr/Zplu4TF7TTUIvM5cT4O16xf0uzX+YSSK/PM ktIw== 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=CHD5nBQgwlPmwva/28UbxJgWYorO2VtxHzL2DWBTbfY=; b=GtxXZCfpX4SkRMDkeyyYBkyB0f/Evy/WL5+a+fjdMmv6uFTCPGD3o1/gZw55ISPe0/ IMb7UZoZp7jDN6pgKgRhxs3TfFiTF9VJHmNy3vX0VRHIV3L+wOETM9Yc7E+ytLfkmB3g bD6H92DwmQQv8kx0BhwMNyELlbfjOPkIHxBIVOrOEhig6kw/mJNe6UkNWE743o70hJFI 31Zonafjer2K9hZL/8dV5Kwi2p9pUa//LyrgoLdQ6cHI4oYJszYWeVwfgXCRN6xMTyIy CXJCDhPBfdaidL49d71mVI381zN+wH/OQU/mbL2jFGqSPgYdExtt917tujR5GKBct9/s Bn5A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bR9dV2KG; 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 ffacd0b85a97d-378956d8fd3si3941901f8f.1071.2024.09.11.03.01.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 03:01:27 -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=bR9dV2KG; 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 4C83989267; Wed, 11 Sep 2024 11:59: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=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="bR9dV2KG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1674289254; Wed, 11 Sep 2024 11:59: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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 97D0989274 for ; Wed, 11 Sep 2024 11:59:01 +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-x430.google.com with SMTP id ffacd0b85a97d-374c3eef39eso3739432f8f.0 for ; Wed, 11 Sep 2024 02:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726048741; x=1726653541; 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=bR9dV2KGQ4lXKOLBwWFNxIw9rBV/gGAzB+TrDKaFV+CGquusYjdQPyXbgvPLx2evLk /DL5p5eCd8lBAnCpgEfwKpTRu2KPyKPAeEHP1eu52fu/5ZZtyw1UtXTHxsPIKEORMV7G q96VkwsqAfJdqb5vYhRPnPFAQljU7smKi2FuusfKZ4WV/32BG6Fz+duu1mTxn9m6dh+F zJkkeCHTTC2GALUzR08tJQL9LbkLAKjLgg6uTyq8ULwPUQFO7pI4GuCvE/9V4MCVE6NR vRVRtZ3Sx1/MeSYL6tBq0kMjFWqvUZSrltKyUkLeFm5K4/IucxWp8lAWOSevnv75m2Rw 88XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726048741; x=1726653541; 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=mwUCmg/TvZgIk/et9UnzMmpXAV4vti46YQL7zSDcwo09pu+99D397nh+OxBAFMsBty UImjWi30N2jW4KUTQviuqc6wWjzRbnh4AcFryuoy6KMQ2Sb7OgUm3gixrSQy9UA+Ce4X mmKFLaNAHRhx6YP4L956BmsXjy6UxTSaw+OF+SpGJMYO5UKXfmSaPgu2AjfERC3JhHe8 T6jyQzp+xACnTPdGyMxYMbirmCE6p7t4H0sSc1+TNJtxWmcQMJmZ47EU76SbmGWgNP1O uwHvKOysspmuIu0rSRYzCKry5/4dBnvMLzSy2DOVwMdLtx4azIaPCiGm1nI55z5SrOFN cXYw== X-Gm-Message-State: AOJu0YwNcWQaIja4/niZgIw0nAe3U55yEs13HHxJ5zbceMEwrblcbi72 BkAgc+oTmDCFAnechK0wPod2jckRVVIBqW0ZL+UD0ot4xb9SmoVJS8WuDQ3q/OvPwQm8FOUwRrd zL4w+Y3bg X-Received: by 2002:a5d:634c:0:b0:374:c40d:d437 with SMTP id ffacd0b85a97d-378895c9f9fmr10620546f8f.15.1726048740811; Wed, 11 Sep 2024 02:59:00 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:7d92:535d:cd3d:335b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37895649bafsm11300507f8f.7.2024.09.11.02.59.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 02:59:00 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Peter Robinson , Jerome Forissier , Tom Rini , Simon Glass , Stefan Roese , Jiaxun Yang , Jagan Teki , Devarsh Thakkar , Rasmus Villemoes , Marek Vasut Subject: [PATCH v4 14/15] common: update: UPDATE_COMMON implies CMD_TFTPBOOT Date: Wed, 11 Sep 2024 11:58:27 +0200 Message-Id: <38f8f0ef516ee215f9089a6cfb687fdca180de35.1726048404.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"