From patchwork Wed Aug 20 00:40:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 55 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755650502; bh=G/feBUUZCichkD5qTt/vKw6U2aQTMqmb+g0AhM2QaCs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=qAiLIdECmy72aUkpMbAned85C3wyfSyFFzvVRP5v4mi9P8mseAhJi6VIKWFFaP+e8 O23FZWp6cxrtpaMfJPd31ryuvYrY3b88rdpDlcpxfnNxgnJzDg9sr2YgG+bgLjMMqd XJQ8fJVHn/Q3hoxTNIwnZ+fdwDjB6h1xTyRAKsWnE7Rip2oaM41r7897hOy5jbPXEh yXxIOFEw5UH88X1R1KZUT+vnMhswsTpw0cH0VxpwK0e+B6OjQf4bMFHSxZ2Lxs5han go/83zuRF1nfgEHUfWqCSHCrMivmiBG3Is02P4halnTIO5eqsKfl7h8FZLn6Bv7ceY KheENHrfuQLcA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 5C4C66765A for ; Tue, 19 Aug 2025 18:41:42 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id B08chH_NsPKT for ; Tue, 19 Aug 2025 18:41:42 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755650502; bh=G/feBUUZCichkD5qTt/vKw6U2aQTMqmb+g0AhM2QaCs=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=qAiLIdECmy72aUkpMbAned85C3wyfSyFFzvVRP5v4mi9P8mseAhJi6VIKWFFaP+e8 O23FZWp6cxrtpaMfJPd31ryuvYrY3b88rdpDlcpxfnNxgnJzDg9sr2YgG+bgLjMMqd XJQ8fJVHn/Q3hoxTNIwnZ+fdwDjB6h1xTyRAKsWnE7Rip2oaM41r7897hOy5jbPXEh yXxIOFEw5UH88X1R1KZUT+vnMhswsTpw0cH0VxpwK0e+B6OjQf4bMFHSxZ2Lxs5han go/83zuRF1nfgEHUfWqCSHCrMivmiBG3Is02P4halnTIO5eqsKfl7h8FZLn6Bv7ceY KheENHrfuQLcA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4B6C267652 for ; Tue, 19 Aug 2025 18:41:42 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755650500; bh=1X+mfUUIYGU6toMUrklFiGy7hZKPd2bv1Y7L+TlGQus=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dLmPxHtLaG2+9nonF6hOBNU5CWiD6az/D3G5DsY+A42JfwSfP7JgxodVeAG1Qxvzb O9T2709uwRbbQPhLJZm6MgqrzpYwoaM0uHknkwya2xOADjhz/2PQJLwfu2vEkuQrWG 48xVy/gtHUk5MJz1617A/oLH0SNJO6PFy+KoAaJ5dyxNJu2mLCA9+HGahtKaCOKv53 zwz/86xoaGOSUQl7qkxKf56wS+nGaY3/BpP5oyL39leO0gV1tYs2hhpdqYLgAhoxgd gx8fWG2wjI/Ufdh0qN1QFVQ1VNI1xnpYSQo1TKFbN7n53rX23NvdQv/Ox1otIrcei7 wn58iKaTWgbOg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A3417675C0; Tue, 19 Aug 2025 18:41:40 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id ouHPOsmlbDTq; Tue, 19 Aug 2025 18:41:40 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755650496; bh=RzyuhgD2NuQZ8jZSA+EQ8jAPAMtYuTAFRAzsuwbYRD8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=erVpibe2Gb6ZV5Bt7nIi3/02yJHCGrcDB4Oqsk6MF2aotIG0wob/erW8JU+ckHvit 9fl64n4+lX4/rdv0j8OGrqTYgf1B0+h91JTMg2fWqudo7rwoS4aUSb1RPfbnhEBgoi iTaVwTUvm/bi6ra9AhdHTthEICK5qQ4btHPaVyk4ikdrSdYDJG2JL4junRpPR27QAK u9fVbf18sdxGAv3D/i0lDOlMFt6ZxvMn1NkYdIMbG9Ql/SxU1gJDLTV0XTwv/wph/I u+gMoJdfi5cN0zylualyLp+lXGaNz1SYXGxv/KtOucwXIq27EU6T5zc6HovHMFwal1 x+0eWUToM5Frg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 57F8F675B8; Tue, 19 Aug 2025 18:41:36 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Tue, 19 Aug 2025 18:40:31 -0600 Message-ID: <20250820004039.3920254-18-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250820004039.3920254-1-sjg@u-boot.org> References: <20250820004039.3920254-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: AYLY7UZGZWKTEBPYQVJSEI4FXC7T77OP X-Message-ID-Hash: AYLY7UZGZWKTEBPYQVJSEI4FXC7T77OP X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 17/18] efi: app: Support efidebug boot add, rm and order List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Enable these commands in the app, since the requires pieces are now in place. Signed-off-by: Simon Glass --- cmd/efidebug.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/cmd/efidebug.c b/cmd/efidebug.c index a48e0de1208..7755585c778 100644 --- a/cmd/efidebug.c +++ b/cmd/efidebug.c @@ -922,9 +922,6 @@ static int do_efi_boot_add(struct cmd_tbl *cmdtp, int flag, efi_status_t ret; int r = CMD_RET_SUCCESS; - if (app_not_supported("boot add")) - return CMD_RET_FAILURE; - guid = efi_global_variable_guid; /* attributes */ @@ -1105,9 +1102,6 @@ static int do_efi_boot_rm(struct cmd_tbl *cmdtp, int flag, u16 var_name16[9]; efi_status_t ret; - if (app_not_supported("boot rm")) - return CMD_RET_FAILURE; - if (argc == 1) return CMD_RET_USAGE; @@ -1290,9 +1284,6 @@ static int show_efi_boot_order(void) struct efi_load_option lo; efi_status_t ret; - if (app_not_supported("show_boot_order")) - return CMD_RET_FAILURE; - size = 0; ret = efi_get_variable_int(u"BootOrder", &efi_global_variable_guid, NULL, &size, NULL, NULL);