Message ID | 20200907053426.1675646-5-takahiro.akashi@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp3414744ilg; Sun, 6 Sep 2020 22:37:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9c9kJPKlMaelXifA0XHW8diG1h+AyK7WDiKc4ZuqkqfoPSn1caPoY6ACicUcItu077XyU X-Received: by 2002:a17:906:24d6:: with SMTP id f22mr18946738ejb.85.1599457035837; Sun, 06 Sep 2020 22:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599457035; cv=none; d=google.com; s=arc-20160816; b=pKTGw/e6Vzh0gBXZeyOaldfCljxJp/njvl6uN1yFoOV0DQWDDAd2b7bPU1NA0vhCmQ UXBwp/WsbORP3tYbHC83PTOnIrj1jdB5xrzt0JMMVOHpIQB2FPhcdd7uHK9mRCf1swWa gqWEackqP+H3iqaUtzoqduvEDnv1ZPKqnzpMo1Gaqi+3HOOkywKIv0ZjYFA+lTXWkfOy fQv/4/DqtHPaEAgC1neEL5l2csx4SoxKqaf83Gio4mcYN1USxWun7o8vZys0zJR6ICrk pR4WCvzYJr3dBXtZ643EsKIB6RXvaAacbvwvJvkBz7bTYD687N+7jggJBVc6va8EOnv3 lq8w== 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=E2Ij1qbrWV27twCxk4hE93yWwvc8FzFc5j2+PryIidUKfTaW/taS8UdF0VoVEX0thl PpVDIxQAqBci4ZHsyn4rhru6qYM8KB3VSQeHNdLnsnIBEHxyXkdKaEHB6lmytjuAwywT yx0s25ZToyqtQ1cSWguEK4gGWNU/cIdzlxWz7NAHyyrXxjrv12a4TR3ljKgR/jzM+/GI +FvH0+8DLxYJ53LN0WyyVZaadrWQLrkBiTx/ETQIzqDmxQu/ivb7E5DH8F7OEr7c2Ub1 IDXrDxRn/GKu65y2qYLcbGbA2iZDE69mwk5xi6zjjhPtsU81ktqNGKhFypVGY5mlpBYf /71Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N5B9+0C3; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id q13si27387edc.610.2020.09.06.22.37.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Sep 2020 22:37:15 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N5B9+0C3; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 49B40824A9; Mon, 7 Sep 2020 07:36: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=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="N5B9+0C3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 041AC824D5; Mon, 7 Sep 2020 07:36:08 +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-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (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 B971C824AE for <u-boot@lists.denx.de>; Mon, 7 Sep 2020 07:35: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=takahiro.akashi@linaro.org Received: by mail-pl1-x644.google.com with SMTP id j7so1142672plk.11 for <u-boot@lists.denx.de>; Sun, 06 Sep 2020 22:35:56 -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=N5B9+0C3vRu0HwPizeNk2cBv9MQUX66KfsUu2rG7JVavOr5grH8HNqy/93PU1//ixv A7XfIGdfW8Z31b90tfdWqT2svXkxPtsYTD3PkqYhm4gjM4bvS+HU7gFrOohE2PvNiOmA 0gcB1YBYcU08Fi7K5ngcaQRgV1SR7ehmmaS9cyZIbMyQcotbabWlymlJfoThwuUhVHIp uFuJaOLi4TP2UFEhSXkTQuKtGEAtkpSbBZmnUugm4fUVrmfZtjdtxi8Kz67wK46s1oyu +rSy+XWIExQA/OJPJmhoHjKm0UlxEEamLI+J1lbS71zHaTm6PeymkbMNoVcrh1Ow6Yn4 SRLA== 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=lPDKfrzGC5wuZdJsuB8vEa2zlZ6Or5iAlJ7BEep7Umo/yq5K+1QraZoRwc1I8f4cN4 qqqfhVpmJ+fpFytwPTziuZPmYwVEWdxKD7+iqRinDy+NBAcaea31qybIBb/CWGKV8BS6 uvkLDQm6I1uUJ/MccZqUlyeXuIR+8iuXk2v6FdlFdQnsKt3xxsXN8oGkAoUNsNOAS5In fAqMVWfn9rXYoKBFZ7421eaKALDUNqlBz/U9FZmMrfMCqi/EZrPSsWKmBEqrU0v6V9SP 0QfJ0aHwiAD2gRZ4jTKhMSEEcfMWqGv1jomlfvKRpK0r6SG5jOTBWUr9ihkIjez1X/j0 02WQ== X-Gm-Message-State: AOAM530NxluOr4Uf0jUK+jRO7AZc2uu5oaHtWOjB1diXm/hXKmNCGaTF qsOD7WJ8kClJbhtv3W2YZfJw6w== X-Received: by 2002:a17:90b:510:: with SMTP id r16mr18849602pjz.75.1599456949969; Sun, 06 Sep 2020 22:35:49 -0700 (PDT) Received: from localhost.localdomain (p784a66b9.tkyea130.ap.so-net.ne.jp. [120.74.102.185]) by smtp.gmail.com with ESMTPSA id w6sm10783939pgr.82.2020.09.06.22.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Sep 2020 22:35:49 -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: [PATCH v6 04/17] dfu: export dfu_list Date: Mon, 7 Sep 2020 14:34:13 +0900 Message-Id: <20200907053426.1675646-5-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200907053426.1675646-1-takahiro.akashi@linaro.org> References: <20200907053426.1675646-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