efi: app: Support the efidebug command

This command is useful for the app, so enable it. For now most of the
subcommands don't work, so provide a message in that case. This seems
better than silently pretending that the subcommand doesn't exist.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-15 17:04:32 -06:00
parent 8bc5cf50ff
commit 04062f0cbf
2 changed files with 40 additions and 2 deletions

View File

@@ -2228,8 +2228,9 @@ config CMD_CLS
config CMD_EFIDEBUG
bool "efidebug - display/configure UEFI environment"
depends on EFI_LOADER
select EFI_DEVICE_PATH_TO_TEXT
depends on EFI_LOADER || EFI_APP
default y if EFI_APP
select EFI_DEVICE_PATH_TO_TEXT if EFI_LOADER
help
Enable the 'efidebug' command which provides a subset of UEFI
shell utility with simplified functionality. It will be useful