Message ID | 20220905124803.2909-7-masahisa.kojima@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp3642422mae; Mon, 5 Sep 2022 05:47:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR7ETwQITFm0Kfnl2rKdPscyOAf4lbBjMy+4cwRZ3oK7d9k0qM3CRjnF0oLRSYRVs4rkRtJr X-Received: by 2002:a17:907:7605:b0:73d:cdf7:d8e0 with SMTP id jx5-20020a170907760500b0073dcdf7d8e0mr35896120ejc.430.1662382027727; Mon, 05 Sep 2022 05:47:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662382027; cv=none; d=google.com; s=arc-20160816; b=ffqGrhNn0Ry2qUs9h1Mn7arfdW2RQWKW1JJHPtHjTR9GImZR7Fh8+AIaznYjJkY0K5 C3TRzwDj9rPtPZYq7kaD7Wv3bD4KFcfbzyy6mLmreh4dHi95qXcg4GWVf9s+FTC2UgHa bnydorE2a4/4zUGtDhQUCB+JKmc9YLEC/m//qIE2Lm6U9K9zpE9y2p3XaCYNRNIMD4jc /QFwEDHz+rF3f89UZHILh4UDyEPUSw3dDkmhWyoWXId91rIqtQuCIeZPkawllHOBj4j2 EpXIC112oEKhDSRBZPTdk+CJInS5HYkEj+X97p8a3AhNkgXqwiSqDg0oJlqrIit1W15y hfBQ== 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:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=zFC9VKRLkxHy3wq8gsDKH0MiuZM9G7wrU/VJn5LulLY=; b=HyoTgLDVrSGLw6y/0LjORFF40h7gVh6qknOZ6hwVJEgMy4XJQmn+RG/DcJ6ovjnRoi dEDNEHb7SzsRaLoBoyRrlPwKEWKOmtmgkX32rs49r42ONDJB7+S32K26ZMmgq+LFuhfu 991tplf3kGFTkFjCHIiDti3bAl5eRa2v+7qxV5GO8mnqStrjUC2WP2QJFCuc8NTSRn4J CE80oM9oJRb4D8gVEzqMYy0eNP2xZq7J+Snk7FhbbA3PHvoC2fAeF1EFX48Ma1WjLYOB ib52fAthMopGXjaDa+Vz7i+ustDEujgqGf1zCHRM2MbY42UYfrzFVVPJTlTFvFCxgPnm XwlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dvn96JYA; 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 hc30-20020a170907169e00b0073cd3a15f42si8133873ejc.394.2022.09.05.05.47.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 05:47:07 -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=Dvn96JYA; 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 EF5BB8497B; Mon, 5 Sep 2022 14:46:36 +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="Dvn96JYA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 82E228495A; Mon, 5 Sep 2022 14:46:27 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (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 46F39848E7 for <u-boot@lists.denx.de>; Mon, 5 Sep 2022 14:46:24 +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=masahisa.kojima@linaro.org Received: by mail-pl1-x629.google.com with SMTP id c2so8452215plo.3 for <u-boot@lists.denx.de>; Mon, 05 Sep 2022 05:46:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date; bh=zFC9VKRLkxHy3wq8gsDKH0MiuZM9G7wrU/VJn5LulLY=; b=Dvn96JYALG7AAjG/H7MSZFW9IMSCRYUt42+jKCa29zB1r4IsJ8FYOvZerAmQAoqY+e 5WH9FR13nKsi7xWk2P/G+JtNnLvY9FwKmXOWuBdJK4E2ncpkmXOJO4xTJAhdkNtxsOGj qd6OpWEhGLuy0wvIgJPFXcdjUttduWs+knUy9kL2qXQzJE4S9/UiHBiAcN9myosbtuB5 2kXrB4J9wHTVYYwmbIZViHaYDEPQPYTZ5YNWcgoj3wHcNy9WtN1AKqcMMXYCMdYVJ7za D2LvJyfwEK4m8ekBOPUNv04aqlK412BdPYW9dK0bKuGbp/hID09aNYmqQ2UB2Gs305wN Hnhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=zFC9VKRLkxHy3wq8gsDKH0MiuZM9G7wrU/VJn5LulLY=; b=oACpqQpnpFVx7e/GjyvIoWrgpNNmg7qjfg3FXhKjbTZdObSWi/rtRp50CTDu/nEJje yyttV9TVUPP9zfb+1wPmZ+n5YMA1VV7L1ZAJHJgzXlPU7aFScLBzdn7kKsAkWL4QF/dp 7uorgEbuugsnwEBGWHlpf7DEsJIzRR00NuBiu+chHq72i4YuTHnW+N7Jhxyjb6zO6jwz +HUoO+TxN81jnacycvuxz93EL5qIzxmTqyjsBfm+7KcfJUu/tYcdwR6PmklV6kFxElMt /ruUyNUN9pcmBlbtFyW1BvMdf+7ZegCuD+5pLTHr7T/q/JPeKneDN3cLCUmVroa642k3 DPTg== X-Gm-Message-State: ACgBeo1JcWrEhHsFna9vbZKL/UwW8LmfjCu9nt9d4lp52X3yM/ojGwub FKZ+qFKr5Aepf0aWOHDxiX7AvCGPmUplFA== X-Received: by 2002:a17:903:291:b0:172:f018:cdce with SMTP id j17-20020a170903029100b00172f018cdcemr49351925plr.91.1662381982157; Mon, 05 Sep 2022 05:46:22 -0700 (PDT) Received: from localhost.localdomain ([240d:1a:cf7:5800:82fa:5bff:fe4b:26b1]) by smtp.gmail.com with ESMTPSA id y64-20020a623243000000b0053639773ad8sm7660949pfy.119.2022.09.05.05.46.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 05:46:21 -0700 (PDT) From: Masahisa Kojima <masahisa.kojima@linaro.org> To: u-boot@lists.denx.de Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Simon Glass <sjg@chromium.org>, Takahiro Akashi <takahiro.akashi@linaro.org>, Mark Kettenis <mark.kettenis@xs4all.nl>, Masahisa Kojima <masahisa.kojima@linaro.org> Subject: [PATCH v16 06/10] eficonfig: scan media device in eficonfig startup Date: Mon, 5 Sep 2022 21:47:58 +0900 Message-Id: <20220905124803.2909-7-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220905124803.2909-1-masahisa.kojima@linaro.org> References: <20220905124803.2909-1-masahisa.kojima@linaro.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
enable menu-driven UEFI variable maintenance
|
expand
|
diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c index edb42d2742..285d2a11ec 100644 --- a/cmd/eficonfig.c +++ b/cmd/eficonfig.c @@ -2085,6 +2085,10 @@ static int do_eficonfig(struct cmd_tbl *cmdtp, int flag, int argc, char *const a if (ret != EFI_SUCCESS) return CMD_RET_FAILURE; + ret = eficonfig_generate_media_device_boot_option(); + if (ret != EFI_SUCCESS && ret != EFI_NOT_FOUND) + return ret; + while (1) { efi_menu = eficonfig_create_fixed_menu(maintenance_menu_items, ARRAY_SIZE(maintenance_menu_items));
In eficonfig startup, scan media devices and update the UEFI boot option. Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org> --- No update since v14 Newly created in v14 cmd/eficonfig.c | 4 ++++ 1 file changed, 4 insertions(+)