[PATCH v14 06/10] eficonfig: scan media device in eficonfig startup
Masahisa Kojima
masahisa.kojima at linaro.org
Fri Aug 26 08:42:19 CEST 2022
In eficonfig startup, scan media devices and update
the UEFI boot option.
Signed-off-by: Masahisa Kojima <masahisa.kojima at linaro.org>
---
Newly created in v14
cmd/eficonfig.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c
index 772b38d29a..946c4b1d08 100644
--- a/cmd/eficonfig.c
+++ b/cmd/eficonfig.c
@@ -2059,6 +2059,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