From patchwork Wed Jun 17 02:55:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1310881 X-Patchwork-Delegate: xypron.glpk@gmx.de Return-Path: 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=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=wLwIuSR/; 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 49mqTH1NByz9sTK for ; Wed, 17 Jun 2020 12:56:18 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3E08481FA0; Wed, 17 Jun 2020 04:55:56 +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="wLwIuSR/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8DFA181FB9; Wed, 17 Jun 2020 04:55:50 +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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (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 4949F81F92 for ; Wed, 17 Jun 2020 04:55:44 +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=takahiro.akashi@linaro.org Received: by mail-pg1-x544.google.com with SMTP id b5so544141pgm.8 for ; Tue, 16 Jun 2020 19:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YvngBuGG3Ar5x+OyVOxC43J4eTTMZN9OsoHaII0rynQ=; b=wLwIuSR/AW7ymLyr71u3XjfM742S3h13gvZ6SEKyPrTsdL3MwyeGGj+iUVgL6cq+l8 4sYn00Nzd4PTHrjks+W3pySP4xx7N3nEi0WJaE4BbyEmgf2pAy/Rw0Ukwit4mjGQaRF7 Vm1yUEVOvAH5UVyXIOdbq0mj1Dx7GAIrS5OgCNADzMFpVV+rxJgGakPKK3VbQmgkY5pq WLC9OmyVu43mie9lNlrXy1zTdULNTsZfHlWP/PSFeIHUQ/4kyhal4u8g2RgSljk6Rp48 EB6x3Z7Xf1brLvPSeRsfz5BqP/ojMCnNqq1xAK8+yd1Oc5WXUnBxZPiJN7B/IJ1nQfM6 PzkA== 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=YvngBuGG3Ar5x+OyVOxC43J4eTTMZN9OsoHaII0rynQ=; b=kN9cif2Ds84+trUaCPfWG7Pl1COadYk0+eLEhso55c3k6eZC0HltDRlID9qDNHKyOD fe30szlFuX4qrkRPOnblgA4F2m6aFe+NyCZAzqpxdkGFwXfROr5GYL4wr3eSYPuO554o 5/bVUuE3ROVd/CflcBIZCBn9VxzDhlSx0fkgvRFhqMiuyb/WyT2Stg2CNwKVf8RqUW2A b+l8nq5jWFfKauhwxPseENpt5FkelPCTWQzl4qDOoUs4abaz1vZNlDhL/Zv5jAb02jhv 9aPsr9rFCbDKd6VwxPMJgr3r3CvOKQrVgRHVbXziA5j9wtUFv6SJyixHnTloKUYs6QD5 eGsA== X-Gm-Message-State: AOAM533D24nH12EeUdcZsCCyy2kYDQUU9fNCEpG2Oh8DZXcDUcrrLUzs iueZomeSWzdFBJXDI6a/lbo3CA== X-Google-Smtp-Source: ABdhPJysT1tHfNq0AKTwo49eANJeRbpOit7eCD+xqRbJ/Luv/NMMv9IBP40+t/JVeTM9h7vrw82Y5g== X-Received: by 2002:a65:4488:: with SMTP id l8mr4472416pgq.327.1592362542354; Tue, 16 Jun 2020 19:55:42 -0700 (PDT) Received: from localhost.localdomain (p6e421564.tkyea130.ap.so-net.ne.jp. [110.66.21.100]) by smtp.gmail.com with ESMTPSA id lt14sm3724918pjb.52.2020.06.16.19.55.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 19:55:41 -0700 (PDT) From: AKASHI Takahiro To: lukma@denx.de, trini@konsulko.com, xypron.glpk@gmx.de, agraf@csgraf.de Cc: sughosh.ganu@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v2 02/17] dfu: add a hidden reverse-dependency on UPDATE_TFTP Date: Wed, 17 Jun 2020 11:55:00 +0900 Message-Id: <20200617025515.23585-3-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200617025515.23585-1-takahiro.akashi@linaro.org> References: <20200617025515.23585-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean DFU_OVER_TFTP support on "dfu" command relies on update_tftp() being available. Just explicitly add this dependency. Signed-off-by: AKASHI Takahiro --- drivers/dfu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dfu/Kconfig b/drivers/dfu/Kconfig index 5d45d7d7c2d7..cafb6a34090e 100644 --- a/drivers/dfu/Kconfig +++ b/drivers/dfu/Kconfig @@ -12,6 +12,7 @@ config DFU_OVER_USB config DFU_OVER_TFTP bool depends on NET + select UPDATE_TFTP if DFU config DFU_TFTP