Message ID | 20200617025515.23585-6-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=bLotPy0j; 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 49mqV35sV1z9sTH for <incoming@patchwork.ozlabs.org>; Wed, 17 Jun 2020 12:56:59 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E176381FE8; Wed, 17 Jun 2020 04:56:12 +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="bLotPy0j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 956B381FB9; Wed, 17 Jun 2020 04:55:57 +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-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) (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 628C181F66 for <u-boot@lists.denx.de>; Wed, 17 Jun 2020 04:55:53 +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-pj1-x1043.google.com with SMTP id u8so310607pje.4 for <u-boot@lists.denx.de>; Tue, 16 Jun 2020 19:55:53 -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=7jM7icdVJmH7pZEc0xNyFDqDlHSUwboCAvOiGSV907o=; b=bLotPy0jgQuOHQzU5e8XxGB9Kq1RA7+wdtnMUebIdNmCkUc0p99kJnpJZnMDiWYrTw GJ3Hxj1bMJM6pTVlDcyIrIrBn0+4ojvcZFNqSU0c86sfUpWi/qznGaNgHQh8Ky2xuS5B ttfCGRAMcKP4Dhv529iQWd0SwJweTTg+7M6z43/wtCINwnc009DKosyJIpuSDCuE2zWZ a8WZ1WiL13qFYJE9nshmamdMu9vRbdOViuYQRzlmfQnNAF+OU+unuwzHTLr+65ZRbv7h 82pdnOBEdY6xTKZw1bnRF44M5Cplw5Vu4+H6ktNAxvWV4zz68qBcO6iSYBmtB4yRNJsg BR0g== 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=7jM7icdVJmH7pZEc0xNyFDqDlHSUwboCAvOiGSV907o=; b=ZkLf519/Vlaf0fRNeyPofuKVrmuEPgfvNyHGF1suuM8yAS0of+VM1OMKhrPFlSr/Ei 1I0QE35XuC34PgX+uoJo9juoWHuOP95cvedByFN3nA7m7HzbTGLLM+UdwmYsHsNyJEFf ZOl+cucZqDmrzY5ZgZl1qrO7+GEDwrKXy/hb1cUGZZtiw7ITS4hanHcbkNg6t/Yls7zT MCmfqjhQuS/oEuU4yjEIfy3ZGpSkOXh7zD9QCHAR0+9DJhB47ivE8cQ3UDOtJv4Qq1r8 DbvkdHuDelq4/FD3i4TKSatCKrYqtoz0nLFa2UaRMhYepaWOVHGy8ffBhtWaZofjz6N3 tO1Q== X-Gm-Message-State: AOAM533ZsSkCAvkHnhh6ZeiOi3XkdaybwRA6Oiw5kCRrbfEzt8jg/sMB QO4MHDuTWt02O3VlH5cd34JD9w== X-Google-Smtp-Source: ABdhPJwxGmQ+C8hydVhZQKCIz6xgX+n6x/61dBNm63VLnKblz2/1/GleqaAYLh+nC7V6orSfVVJ2NA== X-Received: by 2002:a17:90b:714:: with SMTP id s20mr5111701pjz.99.1592362551413; Tue, 16 Jun 2020 19:55:51 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 19:55:50 -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 v2 05/17] dfu: export dfu_list Date: Wed, 17 Jun 2020 11:55:03 +0900 Message-Id: <20200617025515.23585-6-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 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.2 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 94b0a9e68317..e9af9503d685 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(-)