aboutsummaryrefslogtreecommitdiff
path: root/cmd/bootmenu.c
diff options
context:
space:
mode:
authorRaymond Mao2023-06-19 14:22:58 -0700
committerHeinrich Schuchardt2023-07-15 11:20:41 +0200
commit339b527bd4507404a2128ddad24ba060eba342c9 (patch)
tree7c339f09b2438c92b6223c6ba800f0602544145e /cmd/bootmenu.c
parentb3bbad816e97538c8c3b8acad7c7e134261cf3a3 (diff)
Move bootorder and bootoption apis to lib
Rename and move bootorder and bootoption apis from cmd to lib for re-use between eficonfig and bootmgr Fix 'unexpected indentation' when 'make htmldocs' after functions are moved Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'cmd/bootmenu.c')
-rw-r--r--cmd/bootmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bootmenu.c b/cmd/bootmenu.c
index 6baeedc69f9..01daddca7b3 100644
--- a/cmd/bootmenu.c
+++ b/cmd/bootmenu.c
@@ -351,7 +351,7 @@ static struct bootmenu_data *bootmenu_create(int delay)
* UEFI specification requires booting from removal media using
* a architecture-specific default image name such as BOOTAA64.EFI.
*/
- efi_ret = eficonfig_generate_media_device_boot_option();
+ efi_ret = efi_bootmgr_update_media_device_boot_option();
if (efi_ret != EFI_SUCCESS && efi_ret != EFI_NOT_FOUND)
goto cleanup;