[Concept,v2,17/18] efi: app: Support efidebug boot add, rm and order

Message ID 20250820112340.147082-18-sjg@u-boot.org
State New
Headers
Series efi: Move towards the EFI app booting EFI applications |

Commit Message

Simon Glass Aug. 20, 2025, 11:23 a.m. UTC
  From: Simon Glass <sjg@chromium.org>

Enable these commands in the app, since the requires pieces are now in
place.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v1)

 cmd/efidebug.c | 9 ---------
 1 file changed, 9 deletions(-)
  

Patch

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);