Message ID | 20201029002528.34408-5-takahiro.akashi@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp15107ilc; Wed, 28 Oct 2020 17:26:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrI4PB/VYw5W5q7tT4nyzdhqDTjvXxEReYuVp+VgvER80N6juERa5AgUEOhVqxp2AG/UZX X-Received: by 2002:a05:6402:782:: with SMTP id d2mr1498629edy.131.1603931195810; Wed, 28 Oct 2020 17:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603931195; cv=none; d=google.com; s=arc-20160816; b=OQOilyIWSR4AQ9iTt4ma2M8rdQnijPteDXqvm2P7aG35yizqxQ7jJ2BqwXm8PAICYQ xH6mxWlv6iHHPMT9N4QxeSi35Ln3bGXNicOUMespS5VIgM7GHrmKgSfwd3avmZJ/ztvU xwtOa5B39TM15s4BGs4BKPDzkVZ5xAeP+f4d2hVs/9GRn2glySK4wnhXzvrbCSEFdsL9 +CO63ImvrLbrbxRjqJ7RQciurckMPyj52ufNiSmzxRIaKYE4v5WuGjccMo5fv2TltSc1 PVCuy+kkaIGYhOT4fGSeFpxSv7PB4UvvWVcLdic5WCBTNciey2KjlOaIxyOtznVPxdFZ 4htA== 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=0AfYMcPf+ZnAOcOuxNgaIkD5zAmRUz9pGnONGECo7aA=; b=VDYStte1eEW/Wfbfv4aTfiuhJejEFdICrBsLibRh2gAlpn3STIj6XmZ8yWhD/HD3QY g8xaXZSBgt/YyTVk+sUul31DUqp8MYhEMrP964nUzAlx3voingiFJEEeMg5d542Q1IVY vilp2bWLD7jb62FIamvnUBexpCo3dElt87Z0wOx4TVGtpDlamZTv01DgdM5+WGeFNtze wSvr3K3bvZcmrQMWlwLy46j0oMBqsSh03ChE7sIJDiZMjCJTqc/J6atED0xmRv4YNIJN +rdmqcKe16pVj72vRfiIxMwPD5u0mXEQU+9uK5SF7EojdqM4RvuKcDJ/wHthq55hWE1z au/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bs24wBBb; 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 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 y17si669650ejb.417.2020.10.28.17.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 17:26:35 -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=bs24wBBb; 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 Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8305F824EC; Thu, 29 Oct 2020 01:26:17 +0100 (CET) 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="bs24wBBb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2D61C824DE; Thu, 29 Oct 2020 01:26:09 +0100 (CET) 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-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (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 6FC41824AE for <u-boot@lists.denx.de>; Thu, 29 Oct 2020 01:26:05 +0100 (CET) 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-pf1-x441.google.com with SMTP id y14so840259pfp.13 for <u-boot@lists.denx.de>; Wed, 28 Oct 2020 17:26:05 -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=0AfYMcPf+ZnAOcOuxNgaIkD5zAmRUz9pGnONGECo7aA=; b=bs24wBBbauAtiyosmoaMn3dwI0ZlM+hOEZNXyRddRxhpd8XxKVOOJKdozH89VTrJ96 rZ0jbY/3L74N2NtgdQZpHnTnPggFmsqNR0GE2qdI3gVm9dxitKiGOkpaM4e+cD1DBDK0 bkcyu+bOoqDQPgmOjJ2mgRjyjAYyAT0h1tLVKcP8GwMBC+SpLUi7gHb8APXgOdYUEcpX uReBY+AzL5yOdpjT3sXxcjgBDGwUYyxp5CYVqFXi8B6uX85SyYPkjNjih9trVGQj+MCr kWM2jRfweVP7ebJftFEdH5/+izvDX4AAlU4PAvND3yIIIGyG0J3YjN96ai8b2psaDAK4 hxHw== 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=0AfYMcPf+ZnAOcOuxNgaIkD5zAmRUz9pGnONGECo7aA=; b=l1eIulMShOhEpS1GVjLbwwcUR6h/i1+CH32m5qhdjhN+eXO8heD3l1CgpwEVWOr5S+ cPMA66ZH7oqVS8HeYTQkl7iRjtlMim8nGJ3fcykfgU0rWU3MNGlqO07NdgRNgTU39aX3 5nzN+IHB9diHQ7cs8pc46VdrtWbcaJQtcRydDstYnnYJkRTDYgKHf+8RGSFEi9qeEvwA fEnFZHB95OFUXplpePVSnecvFba1oYOAYYE3zWmn2loFJ/2EhJ07ghj6+Cy6UmDkWThT 1eU3C8tzo++eR7bKkUHOH7gPmz0YycfngmNnQBDU10Uwq8E6N5JO8adyCf3qzlPn7ZqO 5onQ== X-Gm-Message-State: AOAM532i2NLvCYVCfP3hdSGwjhVRwSz85s5MM43fSZ3gycHpBxX6/zJR VBEcgiZQAkI+UhWQVU70SbTugyYufJ6oWQ== X-Received: by 2002:a63:541a:: with SMTP id i26mr1703887pgb.117.1603931164064; Wed, 28 Oct 2020 17:26:04 -0700 (PDT) Received: from localhost.localdomain (p784a66b9.tkyea130.ap.so-net.ne.jp. [120.74.102.185]) by smtp.gmail.com with ESMTPSA id s22sm731502pfu.119.2020.10.28.17.26.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 17:26:03 -0700 (PDT) From: AKASHI Takahiro <takahiro.akashi@linaro.org> 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 <takahiro.akashi@linaro.org> Subject: [RESEND PATCH v6 04/17] dfu: export dfu_list Date: Thu, 29 Oct 2020 09:25:15 +0900 Message-Id: <20201029002528.34408-5-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029002528.34408-1-takahiro.akashi@linaro.org> References: <20201029002528.34408-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi_loader: add capsule update support
|
expand
|
diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index a298c2c43999..501a60b34400 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -18,7 +18,7 @@ #include <linux/list.h> #include <linux/compiler.h> -static LIST_HEAD(dfu_list); +LIST_HEAD(dfu_list); static int dfu_alt_num; static int alt_num_cnt; static struct hash_algo *dfu_hash_algo; diff --git a/include/dfu.h b/include/dfu.h index 2299a83a3d94..015d1bf895d0 100644 --- a/include/dfu.h +++ b/include/dfu.h @@ -158,6 +158,9 @@ struct dfu_entity { unsigned int inited:1; }; +struct list_head; +extern struct list_head dfu_list; + #ifdef CONFIG_SET_DFU_ALT_INFO /** * set_dfu_alt_info() - set dfu_alt_info environment variable
This variable will be utilized to enumerate all dfu entities for UEFI capsule firmware update in a later commit. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> --- drivers/dfu/dfu.c | 2 +- include/dfu.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) -- 2.28.0