Message ID | 20200907053426.1675646-5-takahiro.akashi@linaro.org |
---|---|
State | Superseded |
Delegated to: | Heinrich Schuchardt |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) 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=N5B9+0C3; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4BlH9B3689z9sSP for <incoming@patchwork.ozlabs.org>; Mon, 7 Sep 2020 15:37:18 +1000 (AEST) 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-Google-Smtp-Source: ABdhPJwYr3vIe4bHC2oysa/Ms0j+/z3ioqONR6yxNfT9vb0caPoiSSxeE3PvLIrgaPHcwybJD26nmA== 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(-)