[PATCH v15 06/10] eficonfig: scan media device in eficonfig startup
Masahisa Kojima
masahisa.kojima at linaro.org
Fri Sep 2 16:23:45 CEST 2022
In eficonfig startup, scan media devices and update
the UEFI boot option.
Signed-off-by: Masahisa Kojima <masahisa.kojima at linaro.org>
---
No update since v14
Newly created in v14
cmd/eficonfig.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c
index 21d9bd3e23..dda45a8364 100644
--- a/cmd/eficonfig.c
+++ b/cmd/eficonfig.c
@@ -2089,6 +2089,10 @@ static int do_eficonfig(struct cmd_tbl *cmdtp, int flag, int argc, char *const a
if (ret != EFI_SUCCESS)
return CMD_RET_FAILURE;
+ ret = eficonfig_generate_media_device_boot_option();
+ if (ret != EFI_SUCCESS && ret != EFI_NOT_FOUND)
+ return ret;
+
while (1) {
efi_menu = eficonfig_create_fixed_menu(maintenance_menu_items,
ARRAY_SIZE(maintenance_menu_items));
--
2.17.1
More information about the U-Boot
mailing list