diff options
| author | Tom Rini <[email protected]> | 2022-04-10 11:21:39 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-10 11:21:39 -0400 |
| commit | 33ae8c5bebba0874fbc432914406e63fbc219080 (patch) | |
| tree | 050e8c63351c2efd654930e59a6fd2fe031c52c2 /cmd/efidebug.c | |
| parent | 5c7399ec90513bc0310801c9f852ea7697a91759 (diff) | |
| parent | 6b7a6210fde96bb95c8168af4ebf4eb83401df9e (diff) | |
Merge tag 'efi-2022-07-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2022-07-rc1
Documentation:
* Describe how enable DM_SERIAL for a board
UEFI
* Preparatory patches for better integration of DM and UEFI
* Use sysreset after capsule updates instead of do_reset
* Allow to disable persisting non-volatile variables
Diffstat (limited to 'cmd/efidebug.c')
| -rw-r--r-- | cmd/efidebug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/efidebug.c b/cmd/efidebug.c index 3cc6f2bfcca..df928ce71dc 100644 --- a/cmd/efidebug.c +++ b/cmd/efidebug.c @@ -84,6 +84,7 @@ static int do_efi_capsule_update(struct cmd_tbl *cmdtp, int flag, return CMD_RET_SUCCESS; } +#ifdef CONFIG_EFI_CAPSULE_ON_DISK static int do_efi_capsule_on_disk_update(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]) { @@ -93,6 +94,7 @@ static int do_efi_capsule_on_disk_update(struct cmd_tbl *cmdtp, int flag, return ret == EFI_SUCCESS ? CMD_RET_SUCCESS : CMD_RET_FAILURE; } +#endif /** * do_efi_capsule_show() - show capsule information @@ -303,8 +305,10 @@ static struct cmd_tbl cmd_efidebug_capsule_sub[] = { U_BOOT_CMD_MKENT(esrt, CONFIG_SYS_MAXARGS, 1, do_efi_capsule_esrt, "", ""), #endif +#ifdef CONFIG_EFI_CAPSULE_ON_DISK U_BOOT_CMD_MKENT(disk-update, 0, 0, do_efi_capsule_on_disk_update, "", ""), +#endif U_BOOT_CMD_MKENT(result, CONFIG_SYS_MAXARGS, 1, do_efi_capsule_res, "", ""), }; |
