From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E12B4C433F5 for ; Mon, 16 May 2022 11:00:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0355983F6C; Mon, 16 May 2022 13:00:31 +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="hH+/pNPc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EEA4484010; Mon, 16 May 2022 13:00:28 +0200 (CEST) Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (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 CD8E3801C3 for ; Mon, 16 May 2022 13:00:25 +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-pf1-x42c.google.com with SMTP id a11so13713361pff.1 for ; Mon, 16 May 2022 04:00:25 -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; bh=hhZOd3CPdGkrwv3wSgkPKUhTtk3Bcv4BJ494KY1fFho=; b=hH+/pNPcosIVSOrQqmA0rhhJUS7rTsRjHgWiw7QmY+6fJDYMvSJPZpAD/UmLiyyXMG jizY+falfZd9ICRXgbq+W4yI/hmw/tGhm/Zfp3vVLKX3n2+O9iq76Ezzt9cRKyQmY1MG fFvSvtPpl6KKsF9Po3HS2iNbIFjb9tRpz7suXaiQ2ig9hxDv3PcqVYvuYZOB2ETpSfRx 6Wcm4jHC/JRr1PgZxQooFngy6V1OR8/Hs9OgLbuqU8M6MmZLnHpDhqVDNMAMudkyqJSE P+dESRWbti/0NS83rX7gvfLCFr7lqPwn2NpJ8L61uzFxWYMeDQdC8E9pHvGhxFWzwQmP 9MAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hhZOd3CPdGkrwv3wSgkPKUhTtk3Bcv4BJ494KY1fFho=; b=mz8gU8H6ptUZFfTZCEBX/lPV5wCdSz+Ka/f8p/7NKlLqOE2vrRxXw+THfh7JHnpn1K 8rHWi/+ISk62iavGaLOUC3PchPnAjVaqUrR2ePUnIHyi2WKnMOp9QBsR5A07Kv1GGcRd W5VIboBniTpzoil31BoqyOPUFtWeglH2xz70i9wVCxh4tywhsp0Jd/KmbmzJ1k9weV2+ mj7FoDzRZxCyFpFD5/XY35fRmuGxPw8dTrmobnC1lOZ+gDik4bVErAN4ZHdmBs6hWuqb 63sXQ9qA/qGkibH3mGXr9+vNq5tlP1zzdPNn6OA28zs/k6Snw8/J5gwl5fa79K04Ai+H S/dA== X-Gm-Message-State: AOAM530nXk5C1P8er5uldLdumD1uu8EO3KzBGf0fJ5K2is+Cr0I5TrN1 tUDd57VnOgdOdYHqQ2iu6hd9XpxM6bPWew== X-Google-Smtp-Source: ABdhPJyeKMtuT+TENlDBTyld70rSsLucDDKo+J9nqaXmoFjpfwDg3ih82PJN7QxlTo95NG+GubEMTg== X-Received: by 2002:a05:6a00:c8c:b0:50e:eea:1a0 with SMTP id a12-20020a056a000c8c00b0050e0eea01a0mr16906927pfv.66.1652698823783; Mon, 16 May 2022 04:00:23 -0700 (PDT) Received: from localhost.localdomain ([240d:1a:cf7:5800:82fa:5bff:fe4b:26b1]) by smtp.gmail.com with ESMTPSA id q2-20020a170902edc200b0016173113c50sm2446480plk.92.2022.05.16.04.00.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 04:00:23 -0700 (PDT) From: Masahisa Kojima To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Simon Glass , Takahiro Akashi , Francois Ozog , Mark Kettenis , Masahisa Kojima Subject: [PATCH v6 0/6] enable menu-driven boot device selection Date: Mon, 16 May 2022 20:00:36 +0900 Message-Id: <20220516110043.31480-1-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Most of the patches are merged into u-boot/master, this series contains the remaining patches to support menu-driven UEFI boot variable maintenance and removable media support. [Major Changes] - rebased to v2022.07-rc2 - there is detailed changelog in each commit Masahisa Kojima (6): efi_loader: menu-driven addition of UEFI boot option efi_loader: menu-driven deletion of UEFI boot variable efi_loader: menu-driven update of UEFI bootorder variable bootmenu: add removable media entries doc:bootmenu: add description for UEFI boot support lib/charset: fix compile warnings cmd/bootmenu.c | 167 ++- doc/usage/cmd/bootmenu.rst | 55 + include/charset.h | 2 +- include/efi_loader.h | 60 + lib/efi_loader/Makefile | 3 + lib/efi_loader/efi_bootmenu_maintenance.c | 1282 +++++++++++++++++++++ lib/efi_loader/efi_bootmgr.c | 4 + lib/efi_loader/efi_boottime.c | 52 +- lib/efi_loader/efi_console.c | 81 ++ lib/efi_loader/efi_disk.c | 11 + lib/efi_loader/efi_file.c | 75 +- 11 files changed, 1737 insertions(+), 55 deletions(-) create mode 100644 lib/efi_loader/efi_bootmenu_maintenance.c -- 2.17.1