efi: Add a command to help with shim

Shim is a program which normally comes before U-Boot in the boot
process. But when the app runs first, it can sometimes chain Shim since
that is what is contained within the bootaa64.efi file, for example.

Add a simple command for dealing with shim. For now it only supports
enabling verbosity.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-27 13:47:46 -06:00
parent f73b3aaab8
commit 27f066d157
9 changed files with 199 additions and 0 deletions

View File

@@ -43,6 +43,8 @@ const efi_guid_t efi_guid_component_name2 = EFI_COMPONENT_NAME2_PROTOCOL_GUID;
const efi_guid_t efi_guid_image_security_database =
EFI_IMAGE_SECURITY_DATABASE_GUID;
const efi_guid_t efi_shim_lock = EFI_SHIM_LOCK_GUID;
/* template EFI_DP_END node: */
const struct efi_device_path EFI_DP_END = {
.type = DEVICE_PATH_TYPE_END,