From patchwork Wed Aug 20 11:23:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 73 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=1755689069; bh=4PWj/rXtv0/kTXlSLlN8+yE3sbQi9bNPbPhAKZ/6deY=; 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=OmZqA0upcYOjMT0vMI3vMOTrZTJ4dsvhuJ8kO+62DAn4D31ubbmwq5Mg1I3kX1vN0 I8PfXq9W+rcZh9vGWdd0vmCCCfEybys9BVKXciTLmUpefiq159BSUYH906nBejiDhi XL1I4TJPo10SAsFh5OiCQysKUMhmkI3jSY0YkiWcffO8IlRwHiz8o2K1urntkfFR0R FnSWlUzaK0FMteGqUHLjuALEL/dLT2cN61p1QcfF9rXZ4DzANr4EWqRP7JaM7T8wNi /90WEpqzY8efTVIKnybdVHe3Tq06IeptbamhRix+/qRsWUthSEflLRK71CnxF89fri i/qRQ6XIAgTfQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4FA1B6766B for ; Wed, 20 Aug 2025 05:24:29 -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 n0klqU3gRxwO for ; Wed, 20 Aug 2025 05:24:29 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755689068; bh=4PWj/rXtv0/kTXlSLlN8+yE3sbQi9bNPbPhAKZ/6deY=; 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=t8d786IH84bS8Uc7gGBZ0K8PDNObo82RcZq8f6m/CQEWWxGQqXuBIx7heZcHnOTA2 JBg8A5Qiyti2mvlZDxAZTt7wyBgcxz7pGahgpI2VpCbvEre9ryOnJ30xU2Uqigi72j tpAMGnL6CfKDwduwdWOlCpOW6MbU62247s4bytEAMWJonUMjYURsZ+DJUsodtmMdGu y1J8AC1SlkaFobNNiwkfijwXEEGzPQtam1nvWc1MnOOzNrvxmkGP26SSvSu2LNY3UH B+TBjfrqWpxPAmDgiTZX7QdiMEHZ21aHzSsXdgwmxk0PCoK/N+tPWiP+zhHZM9sIdT k/38xg9ucHicw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 740DC6767C for ; Wed, 20 Aug 2025 05:24:28 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755689064; bh=NcszcWh+Lr9QHz/tZjDIopD/J7tHAXVks3zY4BxufSA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XhndPPX/BcFZxrkFVcz+tXu5y7aiu5zJPBS7L2zthPWhSJsrc5fWybybjJvqESr5y MRzhtImqjCrX1QBZM66scUqJlP2Yo6FpF/ZE7mNAXLRMciTDZ3mGsU3B/RQUX0+8ZP Jk+SmbcmjaRBYB18i0/VIzT9iplgXE0h63Vr1HorOJdRDMvEIILjC4mzo0cxz/7L+G nMbOR555hGoJMyjwFoqv2DT+8+E2P52XraFL0C99HNo51CHFE2Twzyqo0G0b2V+Djg 6jdiO8pBC/WFHZ6WjquMw8sLtRaRf2/BIXwJjTgUYBtzs+J4tYrkXs0o8cavQuklYO KrlSV1Vzf0J/w== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9633467690; Wed, 20 Aug 2025 05:24:24 -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 AE4YxJC8hvhW; Wed, 20 Aug 2025 05:24:24 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755689059; bh=NqhwK8VjSvP9ORwpDxhtMjDIL/H7wM0ra6Al+XyH5sg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E+1SZYtZHGg/wPakp9cEzXFEoHGBIB49HLKaBd9j26wL1SWKHNRglANnu+q5Xw3RY D0LbKn4TgiZHnOODHoDijUZ0syRTBPlXukMOX8PtqaNsB+WTbaB5vhDK6d03PqzjFs NQ2iSnQPwnajS3eTnn6QcmI1eKT3thQvgXlYF8OOFDbNqlBC0BquU2/nDHIrk+pnuP nKizuxFg0VP76B8K26xCiLnfl1L3+VzHTyd6B3xsJWfCxAxqWVaGelhkLsvyHPlKJL kQEE3A3WWK07dZV6LTW3/cFLKrMUTNqFadRrqQjExPkA1WjoKy8XlnPd5yRhcuBGML lGGT7a1/WpzoA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 1E3AA6766B; Wed, 20 Aug 2025 05:24:19 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Wed, 20 Aug 2025 05:23:29 -0600 Message-ID: <20250820112340.147082-18-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250820112340.147082-1-sjg@u-boot.org> References: <20250820112340.147082-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 5P7K4RXYKAWMX3NKWOKAS2YFMCEOIOCV X-Message-ID-Hash: 5P7K4RXYKAWMX3NKWOKAS2YFMCEOIOCV 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 v2 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 --- (no changes since v1) 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);