projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c416f1c
)
eficonfig: scan media device in eficonfig startup
author
Masahisa Kojima
<masahisa.kojima@linaro.org>
Mon, 12 Sep 2022 08:33:55 +0000
(17:33 +0900)
committer
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Wed, 14 Sep 2022 06:43:32 +0000
(08:43 +0200)
In eficonfig startup, scan media devices and update
the UEFI boot option.
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
cmd/eficonfig.c
patch
|
blob
|
history
diff --git
a/cmd/eficonfig.c
b/cmd/eficonfig.c
index bbd6c3229e31440869e226708688df566b77893a..99c83d1adfbe98e418d61efe274609b0434cbfff 100644
(file)
--- a/
cmd/eficonfig.c
+++ b/
cmd/eficonfig.c
@@
-2129,6
+2129,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));